Read source
Inputs and response fields for read_source.
This callable is not an HTTP endpoint. Its schemas describe the hosted tool. Direct MCP and tool RPC wrap the same semantic document differently. See the MCP contract or tool RPC contract.
Body
application/json
Exact Kast symbol reference. Copy the token unchanged.
Required string length:
1 - 1048576Omission or null selects the declaration.
Available options:
DECLARATION, FILE, CLASS_BODY, CALLABLE_BODY, null - SourceTextComplete
- SourceTextNone
- SourceTextWindow
- SourceEntitiesNone
- SourceEntitiesMatching
- SourcePageFirst
- SourcePageContinue
Optional execution allowances. Null or omitted dimensions use configured defaults; positive values are independently clamped to operator and transport ceilings. These controls do not alter query take, scope, or projection.
Response
200 - application/json
Invocation envelope: completed contains a semantic document; rejected contains a boundary diagnostic. A completed invocation may still contain a qualified or rejected semantic outcome.
Last modified on September 28, 2026