evidence
Log and retrieve ticket proof for audit trails: add command runs with exit code, output, commit, and timestamp; list saved items by ticket.
Instructions
Record and read ticket evidence. Actions: add, list. Evidence is appended to projects//evidence/.jsonl with command, exit code, truncated output, commit, and timestamp.
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>",
"ticket": "<ticket>"
},
"name": "evidence"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ts | No | ISO timestamp (default: now) | |
| cwd | No | Directory used for the git HEAD lookup | |
| exit | No | Exit code (default 0) | |
| limit | No | Max items for list (default 50, cap 500) | |
| action | Yes | Evidence action | |
| commit | No | Commit the evidence applies to (default: git HEAD of cwd) | |
| output | No | Command output (truncated when stored) | |
| ticket | Yes | Ticket id e.g. ticket-001 | |
| command | No | Command that was run (required for add) | |
| project | No | Project slug (auto-detected if omitted) | |
| workspace_path | No | Absolute thread workspace directory; must map to this project. Omit only when the server cwd is the thread workspace. |