Build a fix option
tellagen_build_fix_optionBuild a fix option for an incident diagnosis and return JSON matching result_summary.fix_options, so you don't write that JSON by hand.
Instructions
Check one way to fix the problem and return it in the shape result_summary.fix_options takes, so you never write that JSON by hand. A diagnosis leads with how to fix it: give 2 to 5 options, recommend at most one (an offered one), and keep a tempting wrong option in the list: not_recommended with the harm it would do, or no_effect when it is harmless but does not fix this. Name at most one target: vendor {key, issue_title, issue_body}, hand_off {team_id} or rollback {change_ref_id, runbook_ref}. Never send a label, a web address or an action type: Tellagen works out what each button does from the kind and the target. Read the file before you recommend a change to it, and name it in read_refs. A diff is for a change of 6 changed lines or fewer (build it with tellagen_build_figure, placement step_figure); a larger change has no diff, name the file and the owner. verify.command is read-only; never write a deploy, rollback, restart, scale, flag or purge command, and name a runbook step in a rollback only when the pickup showed one. Returns fix_option and notes about what Tellagen will judge with the run. Put each result in result_summary.fix_options of tellagen_complete_investigation, only when this Tellagen lists fix_options_v1. It changes nothing in Tellagen.
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>",
"kind": "<kind>",
"where": "<where>",
"state": "<state>",
"title": "<title>",
"verify": "<verify>"
},
"name": "tellagen_build_fix_option"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | A short key, unique in the result | |
| kind | Yes | permanent_fix removes the cause; mitigation lowers or stops the harm; hand_off gives it to the team or vendor that owns it; leave_as_is says nothing should change | |
| risk | No | ||
| state | Yes | offered = a way to fix it; no_effect = harmless but does not fix this; not_recommended = a tempting option that would do harm | |
| title | Yes | ||
| where | Yes | Whose system the change is in | |
| change | No | ||
| effort | No | ||
| vendor | No | ||
| verify | Yes | ||
| hand_off | No | ||
| rollback | No | ||
| read_refs | No | The files you read in this run to write the option | |
| trade_offs | No | ||
| finding_ids | No | Findings of this run that show why the option is right or wrong | |
| recommended | No | At most one option, and an offered one | |
| state_reason | No | Required unless the state is offered |