describe_contract
Return the input JSON schema and an auto-generated markdown summary for a registered contract. Lists inputs, sources, sinks, assembly, write_back, and output shape. Pure function; does not execute the contract.
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).
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 |