Get a previously generated contract
get_contractRetrieve a generated contract by ID to check generation status and access completed Markdown content; if processing, call again in about 30 seconds.
Instructions
Retrieve a contract by id. Returns status "processing" while generation is still running (call again in about 30 seconds) and "completed" with the contract once done. content_markdown is always populated regardless of the original output_format — PDF URLs are only returned once, inline, by generate_contract.
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": {
"id": "<id>"
},
"name": "get_contract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The contract id returned by generate_contract. |