fenbs_change_routines
Change Routine Processes, or log a run. log_run (ref or id) records the result (ok, issues or failed), notes, the refs of tasks filed from it, and measures: the numbers the run counted, by name (e.g. {name: 'Stuck buy notes', value: 3}). fenbs compares each measure with the routine's last run that recorded the same name and returns the change (up 1 since RUN-012), so the same names every run give a trend. A routine belongs to one project, or to none; one used on several projects is a template (asksForProject true, no project of its own), and a log_run on a template names the project the run was for. log_run returns the exact runRef plus routineRef. action add, update (ref or id), delete (ref or id), log_run. everyDays sets an optional schedule; kind remains a legacy category; groupId is a saved group on this page. Needs permission to change tasks.
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": {
"action": "<action>"
},
"name": "fenbs_change_routines"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| ref | No | RTN reference; numeric id remains supported. If both are supplied they must agree. | |
| kind | No | ||
| name | No | ||
| notes | No | log_run: what it found. | |
| tasks | No | log_run: refs of tasks filed from it. | |
| action | Yes | ||
| checks | No | What to verify afterwards. | |
| result | No | ||
| groupId | No | add/update: a saved group on this page. 0 removes it from a group; omitted preserves it on update. | |
| project | No | add/update: the one project it belongs to ("" for none). log_run: the project this run was for -- required on a template. list/list_runs: filter. | |
| purpose | No | What it checks or does, and why. | |
| howToRun | No | The steps, in order: a script path, a command, a skill name, or what to do by hand. | |
| measures | No | log_run: the numbers this run counted, at most 20, each name once. Names that match the last run show the change. | |
| ruleRefs | No | Decision refs that govern it. Replaces the list. | |
| everyDays | No | Days between runs, independent of group (1-366); 0 clears the schedule. | |
| asksForProject | No | add/update: true makes it a template used on several projects, which asks for the project on each run; it then has no project of its own. |