setup_analyse_agent
Prepare the nightly Analyse-Agent for this tenant: provision_agent «Analyse-Agent» (values, skill «Naechtliche Analyse», permissions get_analysepaket/record_ersparnis/save_agent_bericht/fetch_unmut_offen/record_unmut) and a cron schedule row for the tenant's dev-agent runner (dev_agent_session_schedules, default 05:45 Europe/Zurich, engine claude, session key analyse-agent, fresh session every night). Without ausfuehren:true it only returns the plan (agent arguments, runner found, schedule row) and changes nothing. Optional: runner_id, user_id (runner owner; default: found from WhatsApp route / earlier schedules), uhrzeit (HH:MM). Admins (humans) only.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "setup_analyse_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uhrzeit | No | Nightly run time HH:MM (Europe/Zurich); default 05:45 | |
| user_id | No | ID of the user | |
| runner_id | No | ID of the runner | |
| ausfuehren | No | true applies the setup; otherwise only the plan is returned |