law_publish_answer
Publish a prepared document. Repeating it with the same preparationId idempotently returns the same URL and the same separate revocation secret.
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": {
"preparationId": "<preparationId>"
},
"name": "law_publish_answer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| preparationId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| revoked | Yes | ||
| publicId | Yes | ||
| publicUrl | Yes | ||
| publishedAt | Yes | ||
| revokeSecret | Yes |