agent_studio_update_agent_version
Update an agent version in GoHighLevel by submitting the full set of nodes, edges, and configuration parameters to overwrite the existing workflow.
Instructions
Update Agent
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>"
},
"name": "agent_studio_update_agent_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edges | No | Complete array of edges connecting the nodes. Provide all edges including unchanged ones. | |
| nodes | No | Complete array of nodes for the agent workflow. Provide all nodes including unchanged ones. | |
| source | No | ||
| userId | No | User ID performing the update | |
| userName | No | User name performing the update | |
| versionId | Yes | ||
| locationId | No | Location ID for authorization Defaults to GHL_LOCATION_ID when omitted. | |
| description | No | Description of the version | |
| versionName | No | Version name | |
| globalConfig | No | Global configuration including prompts and settings | |
| inputVariables | No | Input variables required from user at execution time | |
| globalVariables | No | Global variables accessible throughout the agent workflow | |
| runtimeVariables | No | Runtime variables generated during agent execution |