declarations_validate
Validates a draft declaration by generating and checking its XML output, then marks it as validated on success.
Instructions
Validate a draft declaration by generating and checking the XML output. Transitions the declaration to "validated" status if successful.
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": "declarations_validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Declaration UUID to validate | |
| companyId | No | Company UUID (overrides STORNO_COMPANY_ID env var) |