order_operation
Order an operation: validates the input against the schema and returns the filled document package (Markdown; optionally DOCX/PDF base64 and structured JSON) with a checklist where every legal statement carries a mark (K checked / J reading / KM not verified) and a source URL. Each order gets a unique order_id. Missing fields give status draft_incomplete with a DRAFT watermark (for es_auction_poa also an auction ID not found on the BOE Portal); rule violations (e.g. more than 3 shareholders, UG with 50% payment) give validation_failed. Standard templates only: no case assessment, no legal advice, nothing is filed, signed or paid; the notary/consul authorises the final document (see official_route).
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": {
"operation_id": "<operation_id>",
"input": "<input>"
},
"name": "order_operation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Input per the operation's input_schema (list_operations {operation_id}). | |
| formats | No | Default [markdown, json]. docx/pdf add base64 files per document. | |
| operation_id | Yes | Id of the operation to order, e.g. es_auction_poa (see list_operations). |