get_agent_context
Retrieve an agent's system prompt and contract by providing its slug. Lists all available agents if the slug is not found.
Instructions
Load an agent's system prompt and contract from the RC.
Reads system-prompt.md and contract.md from agents/{agent_slug}/.
If the agent is not found, lists all available agents.
Args:
agent_slug: Folder name of the agent (e.g. "archivist", "librarian").
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": {
"agent_slug": "<agent_slug>"
},
"name": "get_agent_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_slug | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |