Export a debugging session as a written knowledge-base entry
knowledge_base_exportPreserve debugging outcomes by writing a session summary with root cause, hypotheses, and evidence, then updating the knowledge index for future reference.
Instructions
Writes .log-probe/knowledge/.md summarizing the root cause, confirmed/refuted hypotheses with evidence, and notable executions for a session, and refreshes .log-probe/knowledge/INDEX.md linking every exported session. This is the durable, written record analogous to a hand-maintained debugging notes file — call it once a session has reached a conclusion (or is being abandoned) so the investigation isn't lost.
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": {
"sessionId": "<sessionId>"
},
"name": "knowledge_base_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes |