@@ -91,6 +91,7 @@ def with_streaming_response(self) -> AgentResourceWithStreamingResponse:
9191 def list (
9292 self ,
9393 * ,
94+ include_malformed_skills : bool | Omit = omit ,
9495 refresh : bool | Omit = omit ,
9596 repo : str | Omit = omit ,
9697 sort_by : Literal ["name" , "last_run" ] | Omit = omit ,
@@ -106,6 +107,10 @@ def list(
106107 Agents are discovered from environments or a specific repository.
107108
108109 Args:
110+ include_malformed_skills: When true, includes skills whose SKILL.md file exists but is malformed. These
111+ variants will have a non-empty `error` field describing the parse failure.
112+ Defaults to false.
113+
109114 refresh: When true, clears the agent list cache before fetching. Use this to force a
110115 refresh of the available agents.
111116
@@ -134,6 +139,7 @@ def list(
134139 timeout = timeout ,
135140 query = maybe_transform (
136141 {
142+ "include_malformed_skills" : include_malformed_skills ,
137143 "refresh" : refresh ,
138144 "repo" : repo ,
139145 "sort_by" : sort_by ,
@@ -185,6 +191,7 @@ def run(
185191 attachments : Iterable [agent_run_params .Attachment ] | Omit = omit ,
186192 config : AmbientAgentConfigParam | Omit = omit ,
187193 conversation_id : str | Omit = omit ,
194+ interactive : bool | Omit = omit ,
188195 prompt : str | Omit = omit ,
189196 skill : str | Omit = omit ,
190197 team : bool | Omit = omit ,
@@ -210,6 +217,8 @@ def run(
210217 conversation_id: Optional conversation ID to continue an existing conversation. If provided, the
211218 agent will continue from where the previous run left off.
212219
220+ interactive: Whether the run should be interactive. If not set, defaults to false.
221+
213222 prompt: The prompt/instruction for the agent to execute. Required unless a skill is
214223 specified via the skill field or config.skill_spec.
215224
@@ -241,6 +250,7 @@ def run(
241250 "attachments" : attachments ,
242251 "config" : config ,
243252 "conversation_id" : conversation_id ,
253+ "interactive" : interactive ,
244254 "prompt" : prompt ,
245255 "skill" : skill ,
246256 "team" : team ,
@@ -295,6 +305,7 @@ def with_streaming_response(self) -> AsyncAgentResourceWithStreamingResponse:
295305 async def list (
296306 self ,
297307 * ,
308+ include_malformed_skills : bool | Omit = omit ,
298309 refresh : bool | Omit = omit ,
299310 repo : str | Omit = omit ,
300311 sort_by : Literal ["name" , "last_run" ] | Omit = omit ,
@@ -310,6 +321,10 @@ async def list(
310321 Agents are discovered from environments or a specific repository.
311322
312323 Args:
324+ include_malformed_skills: When true, includes skills whose SKILL.md file exists but is malformed. These
325+ variants will have a non-empty `error` field describing the parse failure.
326+ Defaults to false.
327+
313328 refresh: When true, clears the agent list cache before fetching. Use this to force a
314329 refresh of the available agents.
315330
@@ -338,6 +353,7 @@ async def list(
338353 timeout = timeout ,
339354 query = await async_maybe_transform (
340355 {
356+ "include_malformed_skills" : include_malformed_skills ,
341357 "refresh" : refresh ,
342358 "repo" : repo ,
343359 "sort_by" : sort_by ,
@@ -389,6 +405,7 @@ async def run(
389405 attachments : Iterable [agent_run_params .Attachment ] | Omit = omit ,
390406 config : AmbientAgentConfigParam | Omit = omit ,
391407 conversation_id : str | Omit = omit ,
408+ interactive : bool | Omit = omit ,
392409 prompt : str | Omit = omit ,
393410 skill : str | Omit = omit ,
394411 team : bool | Omit = omit ,
@@ -414,6 +431,8 @@ async def run(
414431 conversation_id: Optional conversation ID to continue an existing conversation. If provided, the
415432 agent will continue from where the previous run left off.
416433
434+ interactive: Whether the run should be interactive. If not set, defaults to false.
435+
417436 prompt: The prompt/instruction for the agent to execute. Required unless a skill is
418437 specified via the skill field or config.skill_spec.
419438
@@ -445,6 +464,7 @@ async def run(
445464 "attachments" : attachments ,
446465 "config" : config ,
447466 "conversation_id" : conversation_id ,
467+ "interactive" : interactive ,
448468 "prompt" : prompt ,
449469 "skill" : skill ,
450470 "team" : team ,
0 commit comments