agent_export
Export an agent record as a versioned spec (org admin). Returns the spec and the same as YAML, ready to commit to a repo. No ids, no secrets: an MCP server entry names a vault secret, never holds one.
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": {
"slug": "<slug>"
},
"name": "agent_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Agent record slug (agent-<label> or <label>) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||