AgentsManager
Listing Agents
To list all agents available in your project, use thelist_agents method:
Retrieving an Agent
To retrieve a specific agent by its ID, use theretrieve_agent method:
Upserting an Agent
To create or update an agent, use theupsert_agent method:
Deleting an Agent
To delete an agent, use thedelete_agent method:
Agent
Managing Tools
Listing Tools
To list all tools associated with an agent, use thelist_tools method:
Adding a Tool
To add a tool to an agent, use theadd_tool method:
Removing a Tool
To remove a tool from an agent, use theremove_tool method:
Removing All Tools
To clear all tools associated with an agent, use theremove_all_tools method:
Managing Subagents
Listing Subagents
To list all subagents associated with an agent, use thelist_subagents method:
Adding a Subagent
To add a subagent to an agent, use theadd_subagent method:
Removing a Subagent
To remove a subagent from an agent, use theremove_subagent method:
Task Management
Triggering a Task
To trigger a task with a message, use thetrigger_task method:
Viewing Task Steps
To view the steps of a task, use theview_task_steps method:
Approving a Task
To approve a task, use theapprove_task method:
Rerunning a Task
To rerun a task, use thererun_task method:
Scheduling an Action in a Task
To schedule an action in a task, use theschedule_action_in_task method:
Getting Task Output Preview
To get a preview of the task output, use theget_task_output_preview method:
Updating Agent Settings
Updating Core Instructions
To update the core instructions for an agent, use theupdate_core_instructions method:
Updating Template Settings
To update template settings for an agent, use theupdate_template_settings method:
Getting Agent Links
To get a link to an agent’s configuration page, use theget_link method:

