@@ -49,9 +49,9 @@ def create(
4949 * ,
5050 cron_schedule : str ,
5151 name : str ,
52- prompt : str ,
5352 agent_config : AmbientAgentConfigParam | Omit = omit ,
5453 enabled : bool | Omit = omit ,
54+ prompt : str | Omit = omit ,
5555 team : bool | Omit = omit ,
5656 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
5757 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -71,12 +71,13 @@ def create(
7171
7272 name: Human-readable name for the schedule
7373
74- prompt: The prompt/instruction for the agent to execute
75-
76- agent_config: Configuration for an cloud agent run
74+ agent_config: Configuration for a cloud agent run
7775
7876 enabled: Whether the schedule should be active immediately
7977
78+ prompt: The prompt/instruction for the agent to execute. Required unless
79+ agent_config.skill_spec is provided.
80+
8081 team: Whether to create a team-owned schedule. Defaults to true for users on a single
8182 team.
8283
@@ -94,9 +95,9 @@ def create(
9495 {
9596 "cron_schedule" : cron_schedule ,
9697 "name" : name ,
97- "prompt" : prompt ,
9898 "agent_config" : agent_config ,
9999 "enabled" : enabled ,
100+ "prompt" : prompt ,
100101 "team" : team ,
101102 },
102103 schedule_create_params .ScheduleCreateParams ,
@@ -148,8 +149,8 @@ def update(
148149 cron_schedule : str ,
149150 enabled : bool ,
150151 name : str ,
151- prompt : str ,
152152 agent_config : AmbientAgentConfigParam | Omit = omit ,
153+ prompt : str | Omit = omit ,
153154 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
154155 # The extra values given here take precedence over values defined on the client or passed to this method.
155156 extra_headers : Headers | None = None ,
@@ -169,9 +170,10 @@ def update(
169170
170171 name: Human-readable name for the schedule
171172
172- prompt: The prompt/instruction for the agent to execute
173+ agent_config: Configuration for a cloud agent run
173174
174- agent_config: Configuration for an cloud agent run
175+ prompt: The prompt/instruction for the agent to execute. Required unless
176+ agent_config.skill_spec is provided.
175177
176178 extra_headers: Send extra headers
177179
@@ -190,8 +192,8 @@ def update(
190192 "cron_schedule" : cron_schedule ,
191193 "enabled" : enabled ,
192194 "name" : name ,
193- "prompt" : prompt ,
194195 "agent_config" : agent_config ,
196+ "prompt" : prompt ,
195197 },
196198 schedule_update_params .ScheduleUpdateParams ,
197199 ),
@@ -354,9 +356,9 @@ async def create(
354356 * ,
355357 cron_schedule : str ,
356358 name : str ,
357- prompt : str ,
358359 agent_config : AmbientAgentConfigParam | Omit = omit ,
359360 enabled : bool | Omit = omit ,
361+ prompt : str | Omit = omit ,
360362 team : bool | Omit = omit ,
361363 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
362364 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -376,12 +378,13 @@ async def create(
376378
377379 name: Human-readable name for the schedule
378380
379- prompt: The prompt/instruction for the agent to execute
380-
381- agent_config: Configuration for an cloud agent run
381+ agent_config: Configuration for a cloud agent run
382382
383383 enabled: Whether the schedule should be active immediately
384384
385+ prompt: The prompt/instruction for the agent to execute. Required unless
386+ agent_config.skill_spec is provided.
387+
385388 team: Whether to create a team-owned schedule. Defaults to true for users on a single
386389 team.
387390
@@ -399,9 +402,9 @@ async def create(
399402 {
400403 "cron_schedule" : cron_schedule ,
401404 "name" : name ,
402- "prompt" : prompt ,
403405 "agent_config" : agent_config ,
404406 "enabled" : enabled ,
407+ "prompt" : prompt ,
405408 "team" : team ,
406409 },
407410 schedule_create_params .ScheduleCreateParams ,
@@ -453,8 +456,8 @@ async def update(
453456 cron_schedule : str ,
454457 enabled : bool ,
455458 name : str ,
456- prompt : str ,
457459 agent_config : AmbientAgentConfigParam | Omit = omit ,
460+ prompt : str | Omit = omit ,
458461 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
459462 # The extra values given here take precedence over values defined on the client or passed to this method.
460463 extra_headers : Headers | None = None ,
@@ -474,9 +477,10 @@ async def update(
474477
475478 name: Human-readable name for the schedule
476479
477- prompt: The prompt/instruction for the agent to execute
480+ agent_config: Configuration for a cloud agent run
478481
479- agent_config: Configuration for an cloud agent run
482+ prompt: The prompt/instruction for the agent to execute. Required unless
483+ agent_config.skill_spec is provided.
480484
481485 extra_headers: Send extra headers
482486
@@ -495,8 +499,8 @@ async def update(
495499 "cron_schedule" : cron_schedule ,
496500 "enabled" : enabled ,
497501 "name" : name ,
498- "prompt" : prompt ,
499502 "agent_config" : agent_config ,
503+ "prompt" : prompt ,
500504 },
501505 schedule_update_params .ScheduleUpdateParams ,
502506 ),
0 commit comments