Edit a library agent template
library_update_agent_templateFetch Hive staff only. Change an agent template already in the library (draft, pending review or live) in place: instructions, model, temperature, reasoning effort, token limits, example message, name, description, how it works or good for. Pass only what changes. Free, and it does not re-run the quality check (use Re-run QA in fetch-admin afterwards). The answer has previous: the old values, to send back to undo. A change that adds a template lint error is refused.
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": {
"template_id": "<template_id>"
},
"name": "library_update_agent_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| good_for | No | ||
| llm_model | No | ||
| max_token | No | ||
| description | No | ||
| temperature | No | ||
| template_id | Yes | The agent template to change. | |
| how_it_works | No | ||
| max_tool_calls | No | ||
| example_message | No | ||
| reasoning_effort | No | ||
| instruction_prompt | No | The whole new instructions. | |
| max_thinking_token | No |