chain_code_stream
Extract contract-first code streams along an architectural chain to get symbols, signatures, source status, line ranges, and contracts. Use slice mode for bounded implementation slices.
Instructions
Extract a contract-first stream along an architectural Chain. The default returns symbols, signatures, source status, line ranges, and contracts; use mode=slice only for an explicit bounded implementation slice.
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": {
"chainId": "<chainId>"
},
"name": "chain_code_stream"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | contract | |
| chainId | Yes | ||
| projectRoot | No | ||
| maxTotalChars | No | ||
| taskContextId | No | ||
| includeStructured | No | ||
| maxLinesPerSymbol | No |