ghl_agent_studio_update_version
Update a specific agent version's nodes, edges, variables, and configuration by versionId to modify its workflow or settings.
Instructions
Update Agent Updates a specific agent version by versionId. Supports updating nodes, edges, variables, and configuration. Endpoint: PATCH /agent-studio/agent/versions/{versionId} (Version header: v3; source: v3/agent-studio-v3.json) Requires a Sub-Account (location) token. OAuth scopes: agent-studio.write
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"versionId": "<versionId>",
"body": "<body>"
},
"name": "ghl_agent_studio_update_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Request body (schema carried verbatim from the official OpenAPI spec). | |
| source | No | Origin channel attributed to this write for auditing (e.g. public_api, internal) | |
| versionId | Yes | Agent version ID to update |