knowledge_harvest
Retrieve completed flow details, existing ADRs, related drafts, and instructions after a flow is marked done, enabling a decision to create a new knowledge draft or skip when the theme is already covered.
Instructions
Harvest knowledge from a single done-flow. Call this right after flow_update transitions a flow to done (the server's nextStep will remind you). Returns the flow + existing ADRs + related drafts + instructions. Decide: does this flow warrant a new draft? If yes, call knowledge_draft_create. If the theme is already covered, skip.
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": {
"flowId": "<flowId>"
},
"name": "knowledge_harvest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flowId | Yes | Flow id to harvest (must be in done state) |