Tez Grep Constant
tez_grep_constantRetrieve an OCaml constant definition from the Tezos protocol source by name.
Instructions
Look up an OCaml constant definition from the protocol source.
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": {
"constant_name": "<constant_name>"
},
"name": "tez_grep_constant"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| protocol | No | Optional protocol name filter | |
| constant_name | Yes | Constant name (e.g. 'max_operations_ttl', 'blocks_per_cycle') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |