rename_agent

Rename an agent, keyed by its id rather than its current name.

AgentwritesidempotentMCP tool

The name is a display label the store keys on; the running tmux window keeps whatever it was called at launch. It may not contain spaces, colons, dots, slashes, or control characters.

Calling it#

curl -X POST http://127.0.0.1:8787/agent.v1.AgentService/UpdateAgent \
  -H 'Content-Type: application/json' \
  -d '{
  "id": "<id>",
  "name": "<name>"
}'

Request#

UpdateAgentRequest#

FieldTypeDescription
idstring

Which agent to rename.

required

namestring

What to list it as, which the running tmux window keeps its old name through.

required, at most 200 characters

Response#

Empty#

No fields.