describe_contract
Return a contract's JSON Schema and markdown summary of inputs, sources, sinks, assembly, write_back, and output shape without executing it. Pass vault only on multi-vault setups to avoid ambiguity.
Instructions
Return the input JSON Schema + an auto-generated markdown summary for a contract (Q-DESCRIBE). Pure function — does not execute the contract. Summary lists Inputs / Sources / Sinks / Assembly (numbered) / write_back / Output Shape. Omit vault on single-vault setups; on multi-vault setups, pass vault to disambiguate (returns {ok:false, reason:'ambiguous_vault'} otherwise).
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": {
"name": "<name>"
},
"name": "describe_contract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Registered contract name (see register_contracts_as_tools) | |
| vault | No | Vault name; omit on single-vault setups |