Change a saved segment
firmafakta_updateRename a saved segment, replace its expression or change its per (workplace or company), in place, keeping the rest of it. Give its id from firmafakta_load and at least one of name, segment and per. Refused, without charge, for an id the account has not saved.
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": {
"id": "<id>"
},
"name": "firmafakta_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | the saved segment's id, from firmafakta_load | |
| per | No | what it counts from now on: workplace or company; omitted keeps it | |
| name | No | its new name; omitted keeps the name | |
| segment | No | its new expression in describe's segment language; omitted keeps the expression |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | Yes | ||
| usage | Yes |