Get Revision Body
getRevisionBodyRead one section of a revision's config as plain text, in character ranges: the AOP (input) or the code-step program (source). Use it instead of getRevision when the text is large; listAgents with config=light reports each agent's input_chars and source_chars.
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_id": "<agent_id>",
"build_id": "<build_id>",
"section": "<section>"
},
"name": "getRevisionBody"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| length | No | Characters to return (1-50000, default 40000). Repeat with a higher offset until offset plus the returned length reaches total_chars. | |
| offset | No | Character offset to start reading from (default 0) | |
| section | Yes | `input` is an agent step's AOP text; `source` is a code step's program. | |
| agent_id | Yes | The agent's unique identifier | |
| build_id | Yes | The revision's unique identifier |