Record a triage decision
learn_triageRecord whether a finding was accepted or dismissed so future triage suggestions learn from your decisions.
Instructions
Record whether a finding was accepted or dismissed so get_triage_suggestions can learn from it.
Writes the decision to the project's local Skylos state.
Requires SKYLOS_API_KEY: this tool returns an authentication error unless the MCP server is started with SKYLOS_API_KEY set. Without a key only analyze works (5 calls/day). The local CLI needs no key: skylos verify <file> and skylos agent install-hooks.
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": {
"path": "<path>",
"action_id": "<action_id>",
"action": "<action>"
},
"name": "learn_triage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Project directory. A relative path resolves against the MCP server's working directory. | |
| action | Yes | "accept" (real issue) or "dismiss" (false positive). | |
| action_id | Yes | The finding's `fingerprint` from a scan result. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |