misakanet_preflight
[GUARD / RISK CHECK] Check risk level before executing high-risk operations. Matches agent intent against lesson triggers to provide proactive warnings. Use before RAG builds, WSL/GPU tasks, bulk imports, or any operation that might fail. Choosing among the retrieval tools: no error yet and a task about to start → misakanet_memory_context (stdio-only); an actual error or keyword in hand → misakanet_search; something risky about to run and no error yet → this one, which returns a risk verdict and guards, not lesson content. No side effects — safe to call multiple times before acting. Open, read-only: anonymous calls are rate-limited; misakanet_register lifts the limit.
Returns: object {risk_level: 'low'|'medium'|'high', intent, matched_lessons: [{id, title, domain, relevance}], guards: [string]}.
Example: misakanet_preflight(intent='build RAG pipeline with ChromaDB')
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": {
"intent": "<intent>"
},
"name": "misakanet_preflight"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| intent | Yes | Required: what you plan to do (e.g. 'build RAG pipeline with ChromaDB'). | |
| context | No | Optional: additional context about the environment or setup. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| guards | No | ||
| intent | No | ||
| risk_level | No | ||
| matched_lessons | No |