Skip to main content
Server path: /agent-management | Type: Embedded | PCID required: No

Tools


agent_create

Create a new agent with specified configuration including name, description, instructions, tools, and resources. Two ways to add server tools: (1) Add all tools from a server: {“name”: “github”, “allTools”: true} — no need to list individual tools. (2) Add specific tools: call capabilities_discover to find relevant servers/tools, then list them in the tools field. Returns the created agent with its ID. Parameters:

agent_invoke

Invoke an agent and get its response. Use this to leverage agent capabilities for data processing, decision making, or complex tasks. The agent can be invoked with a message and optionally continue a conversation using chatId. Returns the agent’s response, chatId for continuing conversations, and agentId. Parameters:

agent_list

List all agents accessible to the current user. Returns a summary of each agent including its ID, name, and description. Use this to discover available agents before invoking or updating them. Parameters: None

agent_publish_release

Publish a release for an agent, locking in its current configuration as a versioned snapshot. A release is required before an agent can be made available as a public template. If nothing has changed since the last release, returns a message indicating nothing to release. Parameters:

agent_read

Get detailed information about an agent including its configuration, tools, resources, and permissions. Use this to inspect an agent before updating it or to understand its capabilities. Parameters:

agent_toggle_public_template

Toggle whether an agent is available as a public template in the template gallery. When enabling (available=true), the agent must have at least one published release. Provide a category and optional tags. When disabling (available=false), the agent is removed from the public gallery. Use agent_publish_release first to create a release before enabling. Parameters:

agent_update

Update an existing agent. Only provided fields will be updated - other fields remain unchanged. Requires the agent ID from create or read operations. Two ways to add server tools: (1) All tools from a server: {“name”: “github”, “allTools”: true}. (2) Specific tools: call capabilities_discover to find relevant servers/tools, then list them. Example: If user says “add all github tools”, use {“name”: “github”, “allTools”: true}. Parameters:

chat_create

Create a new chat session for an agent. A chat provides a persistent conversation context that maintains message history across multiple agent_invoke calls. After creating a chat, use agent_invoke with the returned chatId to send messages within this conversation. Parameters:

chat_list

List chat sessions for a specific agent. Returns chat metadata including ID, name, agent association, and creation date. Use this to find existing conversations to resume via agent_invoke. Pagination is opt-in: omit limit and cursor to receive every chat for the agent (default behavior); supply limit and/or cursor to page through results, then pass the returned nextCursor back in as cursor to fetch the next page (hasMore indicates more remain). Parameters:

chat_list_artifacts

List all artifacts associated with a chat. Returns artifact metadata including IDs, names, MIME types, sizes, and download URLs. Artifacts are created by agents during code execution (via createArtifact) or uploaded by users. Parameters:

chat_reset_conversation

Reset a chat’s conversation history, clearing all messages. The chat itself is preserved but its message history is wiped clean. Use this to start a fresh conversation within an existing chat session. The next agent_invoke call with this chatId will behave as if the conversation just started. Parameters: