contract_folder_agent_template
Template (Ticket c7db227d Punkt 12) for the scheduled agent 'Vertragsablage überwachen': returns ready-to-use provision_agent arguments (server_job, every 15 minutes, 07–19 h, Mon–Fri) whose run is: scan_contract_folder → import_contract_from_folder ONLY for bundles with bereits_erfasst=false (asynchronous; poll get_contract_import) → uncertain results (zu_pruefen / unsichere_felder / uebersprungene_dateien) become ONE todo per contract — plus the set_contract_scan_rules call that stores the DAILY AI COST LIMIT (max_imports_per_day: each import is one AI extraction; import_contract_from_folder refuses further imports that day once reached). Creates NOTHING itself: review, then call provision_agent and set_contract_scan_rules with the returned arguments. Required: bridge, folder. Optional: path, our_names, max_imports_per_day (default 20), name (default 'Vertragsablage überwachen').
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": {
"bridge": "<bridge>",
"folder": "<folder>"
},
"name": "contract_folder_agent_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name of the agent (default Vertragsablage ueberwachen) | |
| path | No | Subfolder inside folder | |
| bridge | Yes | Bridge slug of the connected computer to monitor | |
| folder | Yes | Allowed folder of that bridge to monitor | |
| our_names | No | How we appear in contracts (decides our role) | |
| max_imports_per_day | No | Daily cap on imports for the cost limit (default 20) |