Validate and explain a recipe
recipe_planPreview a document recipe before running it: validates the schema, file names, page ranges and destructive steps against the actual files, then returns plain-language steps to show the user for approval.
Instructions
Checks a recipe against the actual files without changing anything: schema, file names, page ranges after each step, and which steps are destructive. Returns the steps in plain language to show the user before running.
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": {
"files": "<files>"
},
"name": "recipe_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| each | No | Apply the recipe to each PDF/Word input separately (a batch). Other inputs, like a signature image, are shared. The recipe must not name documents. Results go to the output folder. | |
| lang | No | Language for the step descriptions and messages. | |
| files | Yes | ||
| saved | No | Not available: no saved recipes folder is configured. | |
| engine | No | Word engine. native: built-in; libreoffice: local LibreOffice install; auto (default): built-in, falling back to LibreOffice if content had to be dropped. All local. | |
| recipe | No | A Hilvana recipe object (see resource hilvana://recipe-schema). Example: {"version":1,"steps":[{"op":"merge"},{"op":"sign","image":"firma.png"}],"goals":{"maxBytes":2000000}} |