PUT /mltk/agents
PUT /mltk/agents
Merge updates into an existing agent.
AGENT_RUN_CAPABILITIES
Description. Merge updates into an existing agent. Local-only (no SCS call). Only the versions[0] object is touched; absent fields keep their current value.
Body (JSON). Must include name. Mergeable fields: description, is_enabled, llm, system_prompt, task_prompt, mcps, knowledge_bases, agent_timeout, acl.
Response (200).
{ "message": "Agent \"demo\" updated successfully", "status": "success" }
Example.
curl -sk -u "$SPLUNK_USER:$SPLUNK_PASSWORD" -X PUT
-H "Content-Type: application/json"
--data '{"name":"demo","is_enabled":false}'
"$SPLUNK_HOST/servicesNS/nobody/Splunk_ML_Toolkit/mltk/agents?output_mode=json"