Skip to content

Agent Configs

Create Agent Config
client.AgentConfigs.New(ctx, body) (*AgentConfigNewResponse, error)
POST/v5/agent_configs
List Agent Configs
client.AgentConfigs.List(ctx, query) (*CursorPage[AgentConfigListResponse], error)
GET/v5/agent_configs
List MCP Tool Names
client.AgentConfigs.ListMcpTools(ctx) (*[]AgentConfigListMcpToolsResponse, error)
GET/v5/agent_configs/mcp_tools
Get Agent Config
client.AgentConfigs.Get(ctx, agentConfigID) (*AgentConfigGetResponse, error)
GET/v5/agent_configs/{agent_config_id}
Update Agent Config
client.AgentConfigs.Update(ctx, agentConfigID, params) (*AgentConfigUpdateResponse, error)
PATCH/v5/agent_configs/{agent_config_id}
Delete Agent Config (hard delete)
client.AgentConfigs.Delete(ctx, agentConfigID) (*AgentConfigDeleteResponse, error)
DELETE/v5/agent_configs/{agent_config_id}
ModelsExpand Collapse
type RepoSpec struct{…}

A single repo the agent should clone into its workspace.

Mirrors the per-entry shape the golden agent’s _validate_repos accepts: url is required, the rest are optional passthrough hints. Sent verbatim as task.params.repos so provisioning clones these instead of the deployment-global default.

URL string
maxLength2048
minLength1
Depth int64Optional
minimum1
Path stringOptional
maxLength1024