Get an agent's code
get_agent_codeReturns the full source of one agent from the registry, by its name (e.g. @bill/neuron_agent), so it can be read or adapted.
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": {
"name": "<name>"
},
"name": "get_agent_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Registry name, e.g. @kody/memory_agent |