mutate_agent_templates
Applies confirmed template creates, updates, deletes, and folder renames for a single Agent folder, using mutation IDs for safe retries and version checks.
Instructions
Apply confirmed changes to the single Agent folder.
First sync the templates. To create, pass stable client_id, name, and public movements with official Chinese names. To update, pass template_id, its base_version, and changed name/color/movements or native movement/rules. Specified movement lists replace the entire list. A delete uses template_id and base_version. To rename the folder, pass folder_update with name and the folder's current base_version. Reuse mutation_id for the same change. A new template is allowed to recreate a missing Agent folder.
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": {
"mutation_id": "<mutation_id>"
},
"name": "mutate_agent_templates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deletes | No | ||
| upserts | No | ||
| mutation_id | Yes | ||
| folder_update | No |