{"at":"2026-11-23T00:16:57.802Z","dir":"sent","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/clientInfo":{"name":"didrun-lab","version":"0.1.0"},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T00:17:29.259Z","dir":"received","era":"server_discover","message":{"error":{"code":-32602,"data":"","message":"Invalid request parameters"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-23T00:17:29.510Z","dir":"sent","era":"initialize","message":{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"didrun-lab","version":"0.1.0"},"protocolVersion":"2025-11-25"}}}
{"at":"2026-11-23T00:18:00.197Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"experimental":{},"extensions":{"io.modelcontextprotocol/ui":{}},"prompts":{"listChanged":false},"resources":{"listChanged":false,"subscribe":false},"tools":{"listChanged":true}},"protocolVersion":"2025-11-25","serverInfo":{"name":"Reversecore_MCP","version":"3.4.11"}}}}
{"at":"2026-11-23T00:18:00.197Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T00:18:00.197Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T00:18:00.276Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"_meta":{"fastmcp":{"tags":[]}},"description":"Perform a security audit on a source code file (SAST).\n\nThis tool analyzes source code (C, C++, Python, Go, etc.) to identify\npotential security vulnerabilities such as buffer overflows, injection flaws,\nand weak cryptography. It provides a structured breakdown of dangerous patterns\nfound in the code to guide deeper manual or AI-driven analysis.\n\nUse this tool when you have access to original source code or when you\nwant to analyze decompiled output exported to a file.","inputSchema":{"additionalProperties":false,"properties":{"file_path":{"description":"Path to the source code file.","type":"string"},"language":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Optional language hint (e.g., 'c', 'python'). If None, inferred from extension."}},"required":["file_path"],"type":"object"},"name":"audit_source_code","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Identify file metadata using the ``file`` CLI utility.","inputSchema":{"additionalProperties":false,"properties":{"file_path":{"type":"string"},"timeout":{"default":120,"type":"integer"}},"required":["file_path"],"type":"object"},"name":"run_file","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Copy any accessible file to the workspace directory.\n\nThis tool allows copying files from any location (including AI agent upload directories)\nto the workspace where other reverse engineering tools can access them.\n\nSupports files from:\n- Claude Desktop uploads (/mnt/user-data/uploads)\n- Cursor uploads\n- Windsurf uploads\n- Local file paths\n- Any other accessible location","inputSchema":{"additionalProperties":false,"properties":{"destination_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Optional custom filename in workspace (defaults to original name)"},"source_path":{"description":"Absolute or relative path to the source file","type":"string"}},"required":["source_path"],"type":"object"},"name":"copy_to_workspace","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Create a new sub-directory within the workspace.\n\nThis tool allows AI agents to dynamically create isolated sub-workspaces\nfor different tasks or sessions.","inputSchema":{"additionalProperties":false,"properties":{"directory_path":{"description":"Relative or absolute path of the directory to create.\n           Must be within the workspace boundary.","type":"string"}},"required":["directory_path"],"type":"object"},"name":"create_directory","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"List all files in the workspace directory.\n\nReturns:\n    ToolResult with list of files in workspace","inputSchema":{"additionalProperties":false,"properties":{},"type":"object"},"name":"list_workspace","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Batch scan all files in the workspace using multiple tools in parallel.\n\nThis tool performs a comprehensive scan of the workspace to identify files,\nanalyze binaries, and detect threats. It runs 'run_file', 'parse_binary_with_lief',\nand 'run_yara' (if rules exist) on all matching files concurrently.\n\n**Workflow:**\n1. Identify files matching patterns (default: all files)\n2. Run 'file' command on all files\n3. Run 'LIEF' analysis on executable files\n4. Run 'YARA' scan if rules are available\n5. Aggregate results into a single report","inputSchema":{"additionalProperties":false,"properties":{"file_patterns":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"default":null,"description":"List of glob patterns to include (e.g., [\"*.exe\", \"*.dll\"]).\n          Default is [\"*\"] (all files)."},"timeout":{"default":600,"description":"Global timeout for the batch operation in seconds.","type":"integer"}},"type":"object"},"name":"scan_workspace","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Retrieve a continuation slice of a truncated output artifact from the workspace.\n\nEnables AI agents to recover the omitted tail of large tool outputs without\nusing lossy head/tail commands or causing response budget overflows.","inputSchema":{"additionalProperties":false,"properties":{"artifact_path":{"description":"Workspace-relative or absolute path to the saved output artifact (e.g. 'outputs/cmd_abc123.log').","type":"string"},"length":{"default":65536,"description":"Maximum number of bytes to retrieve (default: 64KB, max: 1MB).","maximum":1048576,"minimum":1,"type":"integer"},"offset":{"default":0,"description":"Byte offset in the artifact to begin reading from (0-indexed).","minimum":0,"type":"integer"}},"required":["artifact_path"],"type":"object"},"name":"retrieve_truncated_output","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Execute a batch of repeated or heterogeneous analysis operations within bounded resources.\n\nEnables AI agents to perform bulk decompilations, cross-reference searches,\ntagging, and static analysis sweeps in a single MCP request, eliminating round-trips\nwhile isolating individual item failures and enforcing strict execution quotas.","inputSchema":{"additionalProperties":false,"properties":{"atomic":{"default":false,"description":"If True, runs all operations inside an atomic transaction. If any operation fails, state changes are rolled back.","type":"boolean"},"item_timeout":{"default":30,"description":"Per-item timeout in seconds (default: 30s, max: 300s).","maximum":300,"minimum":1,"type":"integer"},"max_concurrency":{"default":4,"description":"Maximum number of parallel operations (default: 4, max: 16). Set to 1 for strict sequential execution.","maximum":16,"minimum":1,"type":"integer"},"operations":{"description":"List of tool invocation specifications. Each item must contain 'tool' (str) and 'arguments' (dict). An optional 'id' (str) can be provided for correlation. Example: [{'id': 'fn1', 'tool': 'r2_decompile', 'arguments': {'file_path': 'sample.bin', 'function_address': 'main'}}]","items":{"additionalProperties":true,"type":"object"},"type":"array"},"stop_on_error":{"default":false,"description":"If True, halts execution on first item error and returns partial results.","type":"boolean"},"total_timeout":{"default":120,"description":"Overall timeout for entire batch execution in seconds (default: 120s, max: 600s).","maximum":600,"minimum":5,"type":"integer"}},"required":["operations"],"type":"object"},"name":"batch_execute","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Begin a new state mutation transaction.\n\nCheckpoints current Reversecore state (annotation database, memory sessions,\nreport sessions, and reversible workspace artifacts). Subsequent mutations\ncan be committed atomically or rolled back cleanly to this checkpoint.","inputSchema":{"additionalProperties":false,"properties":{"auto_rollback_on_error":{"default":false,"description":"If True, encountering a non-reversible action in strict mode automatically triggers rollback.","type":"boolean"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Optional detailed description of the intended mutations."},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Optional human-readable name or intent for the transaction (e.g. 'patch_function_auth')."},"strict":{"default":false,"description":"If True, any non-reversible action (e.g., external subprocess execution) is rejected immediately.","type":"boolean"}},"type":"object"},"name":"transaction_begin","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Commit the active transaction and persist changes into the undo history.\n\nAtomically commits all mutations executed since transaction_begin, records\naffected objects in the security audit trail, and adds the transaction to\nthe undo stack.","inputSchema":{"additionalProperties":false,"properties":{"transaction_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Optional ID of the transaction to commit. If omitted, commits the currently active transaction."}},"type":"object"},"name":"transaction_commit","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Roll back the active transaction and restore pre-transaction Reversecore state.\n\nRestores the SQLite annotation database, memory sessions, report session\nmetadata, and tracked workspace artifacts to their exact pre-transaction state.","inputSchema":{"additionalProperties":false,"properties":{"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Optional reason for the rollback (e.g. 'verification check failed')."},"transaction_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Optional ID of the transaction to roll back. If omitted, rolls back the currently active transaction."}},"type":"object"},"name":"transaction_rollback","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Inspect current transaction state, uncommitted mutations, and undo/redo history.\n\nProvides visibility into active transaction status, affected resources,\nwhether non-reversible actions have occurred, and available undo/redo steps.","inputSchema":{"additionalProperties":false,"properties":{"transaction_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Optional transaction ID to query. If omitted, returns active transaction status and history."}},"type":"object"},"name":"transaction_status","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Undo the last committed transaction(s).\n\nRestores Reversecore state to the checkpoint prior to the committed transaction,\nand moves the undone transaction to the redo stack.","inputSchema":{"additionalProperties":false,"properties":{"steps":{"default":1,"description":"Number of committed transactions to undo (default 1).","type":"integer"}},"type":"object"},"name":"transaction_undo","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Redo the last undone transaction(s).\n\nRe-applies the committed state of previously undone transactions.","inputSchema":{"additionalProperties":false,"properties":{"steps":{"default":1,"description":"Number of undone transactions to redo (default 1).","type":"integer"}},"type":"object"},"name":"transaction_redo","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Recommend a goal-aware, depth-tiered analysis plan composed of existing MCP tools.\n\nGiven a file, objective, and depth tier, evaluates tool availability, active\nprofile constraints, and external dependencies to synthesize a sequential\ntool pipeline with conditional branches, stop conditions, and rationales.","inputSchema":{"additionalProperties":false,"properties":{"architecture":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Target architecture if known (e.g. 'x86', 'x86_64', 'arm', 'arm64', 'mips'). Defaults to 'x86_64'."},"depth":{"default":"standard","description":"Analysis depth tier: quick (fingerprinting/fast triage), standard (balanced workflow), deep (broader emulation/deobfuscation/fuzzing).","type":"string"},"objective":{"default":"malware_triage","description":"Analysis objective: static_triage, malware_triage, vulnerability_research, unpacking_deobfuscation, incident_reconstruction, patch_review, forensics.","type":"string"},"profile":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Active or requested MCP tool profile: full, static, malware, forensics, vuln-research."},"sample_format":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Explicit binary or data format (pe, elf, macho, pcap, memory, disk, source, generic). Auto-detected if target_file is provided."},"target_file":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Optional path to target binary, capture, or source sample in workspace (e.g. 'sample.exe', 'dump.raw')."},"time_budget_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Optional time or resource budget in seconds (e.g. 30 for quick, 120 for standard, 300+ for deep)."}},"type":"object"},"name":"recommend_analysis_plan","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Create a persistent machine-readable analysis case bound to sample SHA-256 integrity.","inputSchema":{"additionalProperties":false,"properties":{"case_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Optional descriptive case name (e.g. 'lockbit_v3_loader', 'incident_2026_host01')."},"hypotheses":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null,"description":"Optional initial hypotheses list (each with title, category, evidence_level, rationale)."},"initial_phase":{"default":"intake","description":"Initial analysis phase: intake, triage, hypothesis_generation, deep_analysis, verification, reporting, completed.","type":"string"},"sample_path":{"description":"Path to target binary or artifact in workspace to bind this case to.","type":"string"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Optional linked memory or reporting session UUID."},"targets":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null,"description":"Optional initial inspection targets (each with target, kind, priority, reason, expected_next_step)."}},"required":["sample_path"],"type":"object"},"name":"create_case_state","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Retrieve persistent analysis case state by ID or sample path.","inputSchema":{"additionalProperties":false,"properties":{"case_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Unique case ID (e.g. 'case_sample.exe_a1b2c3'). Required if sample_path not given."},"full_details":{"default":false,"description":"If True, returns complete history including all steps; if False, returns compact summary.","type":"boolean"},"sample_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Optional sample path to look up latest case bound to this file's SHA-256."}},"type":"object"},"name":"get_case_state","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Incrementally update case state, phase, hypotheses, targets, blockers, or artifacts.","inputSchema":{"additionalProperties":false,"properties":{"add_artifact":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"description":"Attach an artifact reference (name, artifact_type, path, uri, sha256, metadata)."},"add_blocker":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"description":"Add a blocking condition (target, reason, blocked_by, suggested_resolution)."},"add_hypothesis":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"description":"Add a new hypothesis (title, category, evidence_level, evidence_refs, rationale)."},"add_step":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"description":"Record a completed operation (step_id, tool_name, summary, output_summary)."},"add_target":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"description":"Add or update an inspection target (target, kind, priority, reason, expected_next_step, blockers)."},"case_id":{"description":"Unique ID of the analysis case to update.","type":"string"},"force_phase":{"default":false,"description":"If True, allows stepping backward in phase progression or resetting phases.","type":"boolean"},"phase":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"New analysis phase: intake, triage, hypothesis_generation, deep_analysis, verification, reporting, completed."},"resolve_blocker":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Target name to clear blocking status for."},"update_hypothesis":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"description":"Update an existing hypothesis (hyp_id, status, evidence_refs, contradictions, rationale, evidence_level)."},"update_target":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"description":"Update target status (target_id_or_name, status, reason)."}},"required":["case_id"],"type":"object"},"name":"update_case_state","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Resume an existing analysis case with hash verification and actionable guidance.","inputSchema":{"additionalProperties":false,"properties":{"case_id":{"description":"Unique ID of the analysis case to resume.","type":"string"},"sample_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Optional sample path to verify against case's bound SHA-256."},"verify_hash":{"default":true,"description":"If True, verifies that sample file on disk matches stored SHA-256.","type":"boolean"}},"required":["case_id"],"type":"object"},"name":"resume_case_state","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"List persistent analysis cases.","inputSchema":{"additionalProperties":false,"properties":{"limit":{"default":50,"description":"Maximum number of cases to return.","maximum":200,"minimum":1,"type":"integer"},"phase":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Optional phase filter (intake, triage, hypothesis_generation, deep_analysis, verification, reporting, completed)."}},"type":"object"},"name":"list_case_states","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Export a portable analyst handoff bundle for a sample.\n\nThe bundle records sample identity, scope and tool provenance, what is\nestablished vs. unresolved, relevant annotations, and integrity digests for\nevery section and artifact reference.","inputSchema":{"additionalProperties":false,"properties":{"artifact_paths":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"default":null,"description":"Workspace files (reports, YARA/Sigma rules, dumps) to reference by SHA-256. Files are referenced, never embedded."},"case_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Case to include. Defaults to the latest case bound to the sample hash."},"include_annotations":{"default":true,"description":"Include bookmarks, structures and types for the sample.","type":"boolean"},"output_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Output filename only (default '<sample>_<hash8>.rchandoff.json'). Written inside the workspace."},"sample_path":{"description":"Workspace path of the sample the investigation is about.","minLength":1,"type":"string"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Memory session to include. Defaults to the case's linked session."}},"required":["sample_path"],"type":"object"},"name":"export_handoff_bundle","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Verify and import an analyst handoff bundle.\n\nIntegrity digests are checked first, then the sample hash, and only then is\nstate written. Existing local cases and annotations are never overwritten:\nan already-known case is imported under a new ID and conflicting annotations\nare reported and left as-is. Missing optional artifacts are reported without\naffecting the rest of the import.","inputSchema":{"additionalProperties":false,"properties":{"bundle_path":{"description":"Workspace path of the .rchandoff.json bundle.","minLength":1,"type":"string"},"dry_run":{"default":false,"description":"Verify and report what would be imported without writing anything.","type":"boolean"},"target_file_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Local sample whose SHA-256 must match the bundle. Strongly recommended: a mismatch aborts before anything is attached."}},"required":["bundle_path"],"type":"object"},"name":"import_handoff_bundle","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Generate an evidence-ranked next-analysis plan for an active case.\n\nRanks inspection targets deterministically based on evidence references, priority level,\nactive hypotheses, and blocker readiness. Provides concrete recommended tools and next steps.","inputSchema":{"additionalProperties":false,"properties":{"case_id":{"description":"Unique identifier of the analysis case state (e.g. 'case_a1b2c3d4').","type":"string"},"include_blocked":{"default":false,"description":"If True, includes targets with unresolved blockers in the ranking.","type":"boolean"},"limit":{"default":5,"description":"Maximum number of ranked targets to include in the plan (1 to 25).","maximum":25,"minimum":1,"type":"integer"},"min_priority":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Optional minimum priority tier filter ('critical', 'high', 'medium', 'low')."}},"required":["case_id"],"type":"object"},"name":"plan_next_analysis_targets","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Extract prioritized inspection leads from triage results and populate the case queue.\n\nParses suspicious APIs, high-entropy sections, anti-analysis checks, diff changes,\nand network/memory IOCs into prioritized targets with rationale and evidence links.\nSkips targets that are already completed.","inputSchema":{"additionalProperties":false,"properties":{"case_id":{"description":"Unique identifier of the analysis case state (e.g. 'case_a1b2c3d4').","type":"string"},"max_items":{"default":15,"description":"Maximum number of priority targets to extract and add to the queue.","maximum":50,"minimum":1,"type":"integer"},"triage_data":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"string"}],"description":"Triage findings dictionary or JSON string (imports, strings, anti_analysis, diff, injections, network, sections)."}},"required":["case_id","triage_data"],"type":"object"},"name":"populate_case_queue_from_triage","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Manually add an evidence-driven analysis target to the active case queue.","inputSchema":{"additionalProperties":false,"properties":{"blockers":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"default":null,"description":"Prerequisite targets or actions that must be completed before inspecting this target."},"case_id":{"description":"Unique identifier of the analysis case state.","type":"string"},"evidence_refs":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"default":null,"description":"Evidence reference identifiers supporting this target (e.g. ['import:VirtualAllocEx', 'string:https://c2.onion'])."},"expected_next_step":{"default":"","description":"Prescribed next analysis technique (e.g. 'decompile + xrefs + taint', 'simulate in ESIL').","type":"string"},"kind":{"default":"function","description":"Kind of target: 'function', 'import', 'string', 'diff', 'patch', 'memory', 'pcap', 'section', 'hypothesis', 'cve'.","type":"string"},"priority":{"default":"high","description":"Priority tier: 'critical', 'high', 'medium', 'low'.","type":"string"},"reason":{"default":"","description":"Evidence-based rationale explaining why this target should be inspected next.","type":"string"},"target":{"description":"Target symbol, address, function, artifact, or subsystem to inspect (e.g. 'sym.decrypt_config', '0x1400010a0').","type":"string"}},"required":["case_id","target"],"type":"object"},"name":"add_priority_target","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Update a target's lifecycle status, unblock dependent targets on completion, and record findings.","inputSchema":{"additionalProperties":false,"properties":{"case_id":{"description":"Unique identifier of the analysis case state.","type":"string"},"findings":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"default":null,"description":"List of analysis findings or conclusions uncovered during inspection of this target."},"priority":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Optional updated priority tier: 'critical', 'high', 'medium', 'low'."},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Rationale for status update or completion summary notes."},"status":{"description":"New lifecycle status: 'pending', 'active', 'completed', 'deferred', 'blocked', 'rejected'.","type":"string"},"target":{"description":"Target ID (e.g. 'tgt_1234abcd') or target identifier (e.g. 'sym.decrypt_config').","type":"string"}},"required":["case_id","target","status"],"type":"object"},"name":"update_priority_target","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Resolve an explicit blocking dependency for a target, transitioning it to pending status.","inputSchema":{"additionalProperties":false,"properties":{"case_id":{"description":"Unique identifier of the analysis case state.","type":"string"},"resolution_note":{"default":"","description":"Explanation of how the blocking condition was satisfied or bypassed.","type":"string"},"target":{"description":"Target identifier whose blocking dependency has been resolved.","type":"string"}},"required":["case_id","target"],"type":"object"},"name":"resolve_target_blocker","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Analyze differences between two binaries and explain changes in natural language.\n\nThis tool combines binary diffing with decompilation to help understand security patches.\nIt identifies changed functions, decompiles them, and uses heuristics to explain\nthe nature of the changes (e.g., \"Added bounds check\", \"Replaced unsafe API\").","inputSchema":{"additionalProperties":false,"properties":{"file_path_a":{"description":"Path to the original binary (e.g., vulnerable version).","type":"string"},"file_path_b":{"description":"Path to the modified binary (e.g., patched version).","type":"string"},"function_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Optional specific function to analyze. If None, analyzes top changes."}},"required":["file_path_a","file_path_b"],"type":"object"},"name":"explain_patch","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Assemble assembly instruction strings into raw machine byte values using Keystone.","inputSchema":{"additionalProperties":false,"properties":{"arch":{"default":"x86","description":"Target architecture (e.g., 'x86', 'arm', 'arm64', 'mips', 'sparc', 'ppc', 'systemz').","type":"string"},"assembly_code":{"description":"The assembly instruction(s) to compile (separated by newlines or semicolons).","type":"string"},"base_address":{"default":"0x0","description":"Base address of instructions, useful for resolving relative offsets (hex or decimal string).","type":"string"},"mode":{"default":"64","description":"Target mode/width (e.g., '16', '32', '64' for x86; 'arm', 'thumb' for arm).","type":"string"}},"required":["assembly_code"],"type":"object"},"name":"assemble_instructions","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Paginate and filter a retained analysis result by its ``evidence_id``.\n\nWhen a tool is called with ``detail=\"summary\"``, it caches the complete output\nin the session EvidenceCache and returns an ``evidence_id`` (e.g. ``ev_8f3a92b1c4d0``).\nUse ``inspect_analysis_view`` to inspect specific pages or filter items without\nflooding the LLM context window. Pass ``evidence_id=\"list\"`` to view all\nretained evidence handles in the current session.","inputSchema":{"additionalProperties":false,"properties":{"evidence_id":{"description":"Retained evidence identifier (e.g. 'ev_8f3a92b1c4d0'), or 'list'\nto enumerate all cached evidence records in the session.","type":"string"},"facet":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Optional facet name to inspect (e.g. 'instructions', 'lines', 'strings',\n'functions', 'files', 'packages', 'literals'). Defaults to primary facet."},"filter_query":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Optional case-insensitive substring filter applied before slicing."},"limit":{"default":50,"description":"Maximum number of items to return per page (default: 50, max: 500).","type":"integer"},"offset":{"default":0,"description":"Zero-based starting item index for pagination (default: 0).","type":"integer"}},"required":["evidence_id"],"type":"object"},"name":"inspect_analysis_view","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Search reverse engineering playbooks, tool recipes, and documentation on demand.\n\nUse this tool when encountering an unfamiliar target format (e.g. Go/Rust binaries,\nElectron ASAR bundles, Unity IL2CPP metadata), workflow (summary-first paging,\nfeature reconstruction), or architecture question instead of guessing parameters.","inputSchema":{"additionalProperties":false,"properties":{"category":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Optional category filter (e.g. 'workflow', 'modern-runtimes', 'user-guide', 'api')."},"limit":{"default":10,"description":"Maximum number of matching sections to return (default: 10, max: 30).","type":"integer"},"query":{"description":"Search keywords (e.g. 'go binary', 'asar', 'il2cpp', 'paging', 'reconstruct', 'emulation').","type":"string"}},"required":["query"],"type":"object"},"name":"search_guidance","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Read the full markdown content of a specific guidance section by its locator.","inputSchema":{"additionalProperties":false,"properties":{"locator":{"description":"Section locator returned by ``search_guidance``\n(e.g. 'playbook:go-rust-reversing#gopclntab-and-crates' or 'docs/EMULATION.md#overview').","type":"string"},"max_chars":{"default":4000,"description":"Maximum characters to return (default: 4000, max: 20000).","type":"integer"}},"required":["locator"],"type":"object"},"name":"read_guidance_section","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Create a new memory session to store memories.\n\nUse this when starting a new reverse engineering analysis.\nThe session name should be descriptive and follow a template format\nlike 'malware_analysis_2024_001' or 'game_cheat_detection'.","inputSchema":{"additionalProperties":false,"properties":{"binary_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Name of the binary being analyzed (optional)"},"binary_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Path to binary for automatic hash calculation (optional)"},"name":{"description":"Template name for the session (e.g., 'malware_sample_001')","type":"string"}},"required":["name"],"type":"object"},"name":"create_memory_session","outputSchema":{"additionalProperties":true,"type":"object"}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Save important information to long-term memory.\n\nUse this to remember:\n- Function addresses and their purposes\n- Vulnerability patterns discovered\n- API call sequences\n- User instructions and preferences\n- Interesting strings or structures","inputSchema":{"additionalProperties":false,"properties":{"category":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Optional category:\n- 'function': Function-related info\n- 'vulnerability': Security issues\n- 'string': Important strings\n- 'structure': Data structures\n- 'api': API usage patterns"},"content":{"description":"The actual content to remember (text or JSON string)","type":"string"},"importance":{"default":5,"description":"Importance level 1-10 (default 5, higher = more important)","type":"integer"},"memory_type":{"description":"Type of memory:\n- 'finding': Analysis discoveries\n- 'pattern': Code/behavior patterns\n- 'instruction': User preferences/instructions\n- 'context': General context information","type":"string"},"session_id":{"description":"Session ID from create_memory_session","type":"string"},"user_prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"The user's prompt when this was discovered (optional)"}},"required":["session_id","memory_type","content"],"type":"object"},"name":"save_memory_item","outputSchema":{"additionalProperties":true,"type":"object"}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Search and recall memories from past analyses.\n\nUse this when you need to remember something from earlier,\nor when the user asks about previous findings.","inputSchema":{"additionalProperties":false,"properties":{"limit":{"default":10,"description":"Maximum number of results (default 10)","type":"integer"},"memory_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Filter by type ('finding', 'pattern', 'instruction', 'context')"},"query":{"description":"Search query (keywords or phrases)","type":"string"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Limit search to specific session (optional)"}},"required":["query"],"type":"object"},"name":"recall_memory_item","outputSchema":{"additionalProperties":true,"type":"object"}},{"_meta":{"fastmcp":{"tags":[]}},"description":"List all analysis sessions with timestamps and status.\n\nUse this to see what analyses have been done before,\nor to find a session to resume.","inputSchema":{"additionalProperties":false,"properties":{"limit":{"default":20,"description":"Maximum number of sessions to return","type":"integer"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Filter by status ('in_progress', 'completed', 'paused')"}},"type":"object"},"name":"list_memory_sessions","outputSchema":{"additionalProperties":true,"type":"object"}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Get complete details and context for a specific session.\n\nUse this when resuming an analysis or reviewing past work.\nReturns all memories and patterns associated with the session.","inputSchema":{"additionalProperties":false,"properties":{"session_id":{"description":"Session ID to retrieve","type":"string"}},"required":["session_id"],"type":"object"},"name":"get_memory_session_detail","outputSchema":{"additionalProperties":true,"type":"object"}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Resume a previous analysis session with full context restoration.\n\nUse this when the user says \"continue where we left off\" or\n\"resume yesterday's analysis\".","inputSchema":{"additionalProperties":false,"properties":{"binary_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Find latest session for this binary (optional)"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Specific session ID to resume (optional)"}},"type":"object"},"name":"resume_memory_session","outputSchema":{"additionalProperties":true,"type":"object"}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Mark an analysis session as completed with a summary.\n\nUse this when finishing an analysis to save a summary\nfor future reference.","inputSchema":{"additionalProperties":false,"properties":{"session_id":{"description":"Session ID to complete","type":"string"},"summary":{"description":"AI-generated summary of the analysis findings","type":"string"}},"required":["session_id","summary"],"type":"object"},"name":"complete_memory_session","outputSchema":{"additionalProperties":true,"type":"object"}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Save a code/behavior pattern for cross-session similarity search.\n\nUse this when you discover a notable pattern that might appear\nin other samples. This enables \"Hey, this looks similar to before!\"","inputSchema":{"additionalProperties":false,"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Human-readable description of the pattern"},"pattern_signature":{"description":"Normalized pattern signature for matching\nExample: \"VirtualAlloc,WriteProcessMemory,CreateRemoteThread\"","type":"string"},"pattern_type":{"description":"Type of pattern:\n- 'api_sequence': Sequence of API calls\n- 'code_pattern': Assembly/code pattern\n- 'behavior': Behavioral pattern","type":"string"},"session_id":{"description":"Current session ID","type":"string"}},"required":["session_id","pattern_type","pattern_signature"],"type":"object"},"name":"save_pattern","outputSchema":{"additionalProperties":true,"type":"object"}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Find similar patterns from previous analyses.\n\nUse this to check if current findings match anything\nfrom past analyses. Enables knowledge transfer across projects.","inputSchema":{"additionalProperties":false,"properties":{"current_session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Exclude current session from results"},"limit":{"default":10,"description":"Maximum results","type":"integer"},"pattern_signature":{"description":"Pattern to search for","type":"string"},"pattern_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Limit to specific type (optional)"}},"required":["pattern_signature"],"type":"object"},"name":"find_similar_patterns","outputSchema":{"additionalProperties":true,"type":"object"}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Get relevant context from past analyses for current work.\n\nUse this proactively when analyzing something new to check\nif there's relevant knowledge from previous sessions.","inputSchema":{"additionalProperties":false,"properties":{"current_session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Current session to exclude"},"description":{"description":"Description of what you're currently analyzing","type":"string"},"limit":{"default":5,"description":"Maximum relevant items","type":"integer"}},"required":["description"],"type":"object"},"name":"get_relevant_context","outputSchema":{"additionalProperties":true,"type":"object"}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Update the cumulative analysis time for a session.\n\nCall this periodically to track how long an analysis takes.","inputSchema":{"additionalProperties":false,"properties":{"duration_seconds":{"description":"Additional time to add (in seconds)","type":"number"},"session_id":{"description":"Session ID","type":"string"}},"required":["session_id","duration_seconds"],"type":"object"},"name":"update_memory_session_time","outputSchema":{"additionalProperties":true,"type":"object"}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Get the current health status and resource usage of the MCP server.\n\nUse this to monitor the server's uptime, memory consumption,\nand tool execution statistics.\n\nReturns:\n    ToolResult containing:\n    - uptime_seconds: Server uptime\n    - memory_usage_mb: Current memory usage in MB\n    - status: 'healthy' or 'degraded'\n    - tool_stats: Summary of tool execution success/failure","inputSchema":{"additionalProperties":false,"properties":{},"type":"object"},"name":"get_server_health","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Get detailed execution metrics for specific or all tools.","inputSchema":{"additionalProperties":false,"properties":{"tool_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Optional tool name to filter results"}},"type":"object"},"name":"get_tool_metrics","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Synthesize LibFuzzer/AFL++ C/C++ test harness and format dictionary (.dict) for target parser.\n\nAnalyzes target headers, exports, and sample files to extract candidate parser functions,\nmagic byte signatures, and generate ready-to-compile LLVMFuzzerTestOneInput harness code.","inputSchema":{"additionalProperties":false,"properties":{"header_or_binary_path":{"description":"Path to target header (.h), source (.c/.cpp), or binary.","type":"string"},"sample_file_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Optional path to a valid sample file to extract dictionary tokens."},"target_function":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Optional target function name to fuzz."},"timeout":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Maximum execution timeout in seconds."}},"required":["header_or_binary_path"],"type":"object"},"name":"cve_synthesize_harness","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Execute hybrid fuzzing campaign with Sanitizer tracking and angr concolic seed solver.\n\nRuns target fuzzer binary with AddressSanitizer, detects coverage stalls, and uses angr\nsymbolic execution to solve magic byte constraints.","inputSchema":{"additionalProperties":false,"properties":{"corpus_dir":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Optional directory with seed testcases."},"dictionary_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Optional path to AFL++ dictionary file (.dict)."},"enable_angr_concolic":{"default":true,"description":"Whether to trigger angr symbolic solving when stalled.","type":"boolean"},"max_total_time_seconds":{"default":20,"description":"Max fuzzing duration in seconds (default: 20s).","type":"integer"},"target_binary_path":{"description":"Path to compiled fuzzer binary in workspace.","type":"string"},"timeout":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Maximum execution timeout in seconds."}},"required":["target_binary_path"],"type":"object"},"name":"cve_fuzz_target","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Triage AddressSanitizer/UBSan crash log and compute CWE and CVSS v3.1 rating.\n\nExtracts bug class (heap-buffer-overflow, UAF, double-free), faulting PC, memory access type,\nallocation/free/crash callstacks, and calculates CVSS score and vector.","inputSchema":{"additionalProperties":false,"properties":{"crash_log_or_text":{"description":"Raw ASan log text or path to crash log file.","type":"string"},"timeout":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Maximum execution timeout in seconds."}},"required":["crash_log_or_text"],"type":"object"},"name":"cve_triage_crash","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Minimize crash testcase payload via delta-debugging and generate standalone PoC scripts.\n\nBsects crash input to find the smallest reproducible byte sequence, and generates\nstandalone Python (subprocess/pwntools) and C reproduction code.","inputSchema":{"additionalProperties":false,"properties":{"binary_path":{"description":"Path to target binary in workspace.","type":"string"},"crash_input_path":{"description":"Path to crash-inducing input file.","type":"string"},"target_function":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Optional target parser function name."},"timeout":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Maximum execution timeout in seconds."}},"required":["binary_path","crash_input_path"],"type":"object"},"name":"cve_minimize_poc","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Run one-click CVE hunting against a compiled LibFuzzer target executable.\n\nThis pipeline does not compile source or header files. Generate and compile a harness for\nthose targets separately, then pass the resulting executable here.\n\nPerforms end-to-end vulnerability discovery:\n1. Hybrid fuzzing and angr concolic branch solving\n2. ASan crash triage, CWE mapping, and CVSS v3.1 scoring\n3. Testcase minimization and standalone PoC generation\n4. Vendor-ready Security Advisory Markdown report draft","inputSchema":{"additionalProperties":false,"properties":{"options":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"description":"Optional configuration dictionary (e.g. fuzz_duration, target_function)."},"sample_file_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Optional path to a valid sample file."},"target_path":{"description":"Path to a compiled LibFuzzer executable. Generate and compile a harness for\nsource or header targets before passing the executable to this pipeline.","type":"string"},"timeout":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Maximum execution timeout in seconds."}},"required":["target_path"],"type":"object"},"name":"hunt_cve_vulnerabilities","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Recover dynamically constructed stack strings and emulated loop strings in a binary.\n\nScans function basic blocks for stack stores (byte/word/dword constants) and\nmicro-emulates tight loops (XOR/additive/rolling ciphers) to capture decrypted strings.","inputSchema":{"additionalProperties":false,"properties":{"file_path":{"description":"Path to the binary file in the workspace.","type":"string"},"function_address":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Optional function offset or symbol (e.g. '0x140001000' or 'main')."},"timeout":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Maximum execution time in seconds."}},"required":["file_path"],"type":"object"},"name":"deobfuscate_strings","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Detect dynamic PEB/TEB walking and resolve 32-bit API hashes to Windows export symbols.\n\nMatches constants found in instructions or data sections against precomputed hash tables\n(ROR13, CRC32, MurmurHash3, FNV-1a, DJB2, SDBM) for standard Windows libraries (ntdll,\nkernel32, user32, advapi32, ws2_32, wininet, winhttp, etc.).","inputSchema":{"additionalProperties":false,"properties":{"algorithm":{"anyOf":[{"type":"string"},{"type":"null"}],"default":"auto","description":"Hash algorithm name ('ror13', 'crc32', 'djb2', 'fnv1a', etc.) or 'auto'."},"custom_hashes":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"default":null,"description":"Optional custom mapping of hash strings (e.g. '0x7c0dfcaa') to API names."},"file_path":{"description":"Path to the binary file to analyze.","type":"string"},"timeout":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Maximum execution time in seconds."}},"required":["file_path"],"type":"object"},"name":"resolve_api_hashes","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Analyze opaque predicates and identify unreachable basic blocks in a function CFG.\n\nDetects algebraic/constant opaque predicates (e.g. zero-flag tests, constant comparisons,\nredundant jumps) and computes effective reachable blocks to simplify control flow analysis.","inputSchema":{"additionalProperties":false,"properties":{"file_path":{"description":"Path to the binary file to analyze.","type":"string"},"function_address":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Optional target function address or name (e.g. '0x140001000')."},"timeout":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Maximum execution time in seconds."}},"required":["file_path"],"type":"object"},"name":"eliminate_dead_code","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Run all deobfuscation engines concurrently and assemble a unified intelligence report.\n\nExecutes stack string recovery, emulated loop decryption, API hash resolution, and\nopaque predicate dead code elimination, producing a comprehensive report with threat tags\nand detected malware capabilities.","inputSchema":{"additionalProperties":false,"properties":{"file_path":{"description":"Path to the binary file to analyze.","type":"string"},"options":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"description":"Optional configuration dictionary (e.g. {'algorithm': 'ror13', 'function_address': 'main'})."},"timeout":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Maximum execution time in seconds."}},"required":["file_path"],"type":"object"},"name":"run_deobfuscation_pipeline","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"List available Volatility3 symbol tables for a memory dump.\n\nVolatility3 requires OS-specific symbol tables (ISF files) to run most plugins.\nUse this tool to inspect which symbol tables are currently available, then load\nthe appropriate one using ``memory_load_symbols`` before running analysis plugins.","inputSchema":{"additionalProperties":false,"properties":{"dump_path":{"description":"Path to the memory dump file (e.g., .raw, .vmem, .mem).","type":"string"}},"required":["dump_path"],"type":"object"},"name":"memory_list_symbols","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Run a Volatility3 plugin against a memory dump file.\n\nSupports Windows, Linux, and macOS memory dumps. Heavy plugin operations\n(malfind, psscan, netscan) are queued via ARQ for non-blocking execution.","inputSchema":{"additionalProperties":false,"properties":{"_bypass_queue":{"default":false,"description":"Internal — set True to skip ARQ queueing.","type":"boolean"},"dump_path":{"description":"Path to the memory dump file (.raw, .vmem, .mem, .dmp).","type":"string"},"extra_args":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Additional plugin arguments as a space-separated string\n(e.g., \"--pid 1234\")."},"plugin":{"default":"windows.pslist","description":"OS-qualified Volatility3 plugin name. Run ``memory_analyze`` with\nplugin='help' to see supported plugins. Bare names such as ``pslist``\nare rejected because they can match plugins from multiple operating systems.","type":"string"},"symbol_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Optional path to an ISF symbol table file. Required for some\nplugins on unknown OS versions."}},"required":["dump_path"],"type":"object"},"name":"memory_analyze","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"List Windows processes from a memory dump.","inputSchema":{"additionalProperties":false,"properties":{"dump_path":{"description":"Path to the memory dump file.","type":"string"},"include_hidden":{"default":true,"description":"If True, also run psscan to detect hidden/unlinked processes.\nHidden processes may indicate rootkits or process injection.","type":"boolean"}},"required":["dump_path"],"type":"object"},"name":"memory_list_processes","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Detect Windows process injection using the Volatility3 windows.malfind plugin.\n\nUses the ``malfind`` plugin to identify memory regions with executable permissions\nthat contain suspicious patterns (MZ headers, shellcode signatures).","inputSchema":{"additionalProperties":false,"properties":{"_bypass_queue":{"default":false,"description":"Internal — set True to skip ARQ queueing.","type":"boolean"},"dump_path":{"description":"Path to the memory dump file.","type":"string"}},"required":["dump_path"],"type":"object"},"name":"memory_detect_injections","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Extract ASCII and Unicode strings from a memory dump.","inputSchema":{"additionalProperties":false,"properties":{"detail":{"default":"full","description":"Detail level - 'full' (complete strings list) or 'summary' (counts & samples)","type":"string"},"dump_path":{"description":"Path to the memory dump file.","type":"string"},"limit":{"default":500,"description":"Maximum number of strings to return (default: 500).","type":"integer"},"min_length":{"default":6,"description":"Minimum string length to include (default: 6).","type":"integer"}},"required":["dump_path"],"type":"object"},"name":"memory_extract_strings","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Dump a Windows module or DLL from a memory dump via Volatility3.","inputSchema":{"additionalProperties":false,"properties":{"dump_path":{"description":"Path to the memory dump file.","type":"string"},"module_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Exact module/DLL name to dump. If None, dumps all modules\nfor the specified process."},"output_dir":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Workspace directory under which a unique run directory is\ncreated for the dumped modules. Defaults to the workspace directory."},"process_name":{"description":"Name of the target process (e.g., 'explorer.exe').","type":"string"}},"required":["dump_path","process_name"],"type":"object"},"name":"memory_dump_module","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"List partition layout of a disk image using Sleuth Kit mmls.","inputSchema":{"additionalProperties":false,"properties":{"image_path":{"description":"Path to the raw disk image file (.img, .dd, .raw, .iso).","type":"string"}},"required":["image_path"],"type":"object"},"name":"disk_list_partition","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"List all files and directories in a disk/filesystem image.","inputSchema":{"additionalProperties":false,"properties":{"directory":{"default":"/","description":"Directory path within the image to list (default: root '/').","type":"string"},"image_path":{"description":"Path to the disk or filesystem image file.","type":"string"},"include_deleted":{"default":true,"description":"If True, also show deleted/unallocated files (marked with '*').","type":"boolean"},"limit":{"default":1000,"description":"Maximum number of entries to return (default: 1000).","type":"integer"},"offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Partition start offset in sectors (from disk_list_partition output).\nLeave None if image_path is a filesystem image (not a full disk image)."},"recursive":{"default":false,"description":"If True, recursively list all subdirectories.","type":"boolean"}},"required":["image_path"],"type":"object"},"name":"disk_list_files","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Recover a deleted file from a disk/filesystem image by inode number.\n\nUse ``disk_list_files`` with ``include_deleted=True`` first to find the\ninode number of the deleted file, then pass it to this tool.","inputSchema":{"additionalProperties":false,"properties":{"image_path":{"description":"Path to the disk or filesystem image file.","type":"string"},"inode":{"description":"Inode number of the file to recover (from disk_list_files output).","type":"string"},"offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Partition start offset in sectors (from disk_list_partition)."},"output_path":{"description":"Destination path to write the recovered file.","type":"string"}},"required":["image_path","inode","output_path"],"type":"object"},"name":"disk_recover_deleted","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Analyze the NTFS Master File Table (MFT) for file timeline and metadata.\n\nProvides full filesystem metadata including file creation/modification/access\ntimes, which is critical for establishing a forensic timeline.","inputSchema":{"additionalProperties":false,"properties":{"image_path":{"description":"Path to an NTFS disk or filesystem image.","type":"string"},"limit":{"default":500,"description":"Maximum MFT entries to return (default: 500).","type":"integer"},"offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Partition start offset in sectors (from disk_list_partition)."}},"required":["image_path"],"type":"object"},"name":"disk_analyze_mft","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Extract a live (non-deleted) file from a disk image by inode number.","inputSchema":{"additionalProperties":false,"properties":{"image_path":{"description":"Path to the disk or filesystem image file.","type":"string"},"inode":{"description":"Inode number of the file to extract.","type":"string"},"offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Partition start offset in sectors."},"output_path":{"description":"Destination path to write the extracted file.","type":"string"}},"required":["image_path","inode","output_path"],"type":"object"},"name":"disk_extract_file","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Compute and verify the integrity hash of a disk image or recovered file.\n\nEssential for forensic chain of custody — verifies that an image has not\nbeen tampered with since acquisition.","inputSchema":{"additionalProperties":false,"properties":{"algorithm":{"default":"sha256","description":"Hash algorithm to use ('sha256', 'sha1', 'md5'). Default: 'sha256'.","type":"string"},"expected_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Optional expected hash value to verify against."},"image_path":{"description":"Path to the disk image or file to hash.","type":"string"}},"required":["image_path"],"type":"object"},"name":"disk_hash_verify","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Summarize sessions, protocols, and packet statistics from a PCAP file.\n\nProvides a high-level overview including total packets, unique hosts,\nprotocol distribution, top talkers, and session summary — ideal as a\nfirst-pass triage of a PCAP capture.","inputSchema":{"additionalProperties":false,"properties":{"max_packets":{"default":10000,"description":"Maximum number of packets to process (default: 10,000).\nFor large captures, use a smaller value or filter first.","type":"integer"},"pcap_path":{"description":"Path to a PCAP or PCAPNG capture file.","type":"string"}},"required":["pcap_path"],"type":"object"},"name":"pcap_analyze","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"List all unique IP/port connections observed in a PCAP capture.","inputSchema":{"additionalProperties":false,"properties":{"max_packets":{"default":50000,"description":"Maximum packets to process (default: 50,000).","type":"integer"},"pcap_path":{"description":"Path to a PCAP or PCAPNG capture file.","type":"string"},"protocol":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Filter by protocol ('tcp', 'udp', or None for all)."}},"required":["pcap_path"],"type":"object"},"name":"pcap_list_connections","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Extract DNS queries and responses from a PCAP capture.\n\nUseful for identifying C2 domain lookups, DGA patterns, DNS tunneling,\nand suspicious resolution activity.","inputSchema":{"additionalProperties":false,"properties":{"include_responses":{"default":true,"description":"If True, also extract DNS response records (A, AAAA, MX, TXT).","type":"boolean"},"max_packets":{"default":50000,"description":"Maximum packets to process (default: 50,000).","type":"integer"},"pcap_path":{"description":"Path to a PCAP or PCAPNG capture file.","type":"string"}},"required":["pcap_path"],"type":"object"},"name":"pcap_extract_dns","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Detect potential C2 traffic patterns in a PCAP capture.\n\nDetects:\n- Beaconing behavior (periodic connections to same host)\n- Connections to known suspicious ports\n- Unusually long/persistent connections\n- DNS-over-HTTPS (DoH) patterns","inputSchema":{"additionalProperties":false,"properties":{"beacon_threshold_sec":{"default":60,"description":"Maximum jitter window (seconds) to consider as beaconing.","type":"integer"},"max_packets":{"default":100000,"description":"Maximum packets to process (default: 100,000).","type":"integer"},"pcap_path":{"description":"Path to a PCAP or PCAPNG capture file.","type":"string"}},"required":["pcap_path"],"type":"object"},"name":"pcap_extract_c2","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Reconstruct TCP stream payload from a PCAP capture.\n\nSelects one TCP flow using its four endpoint values and reassembles each\ndirection independently by TCP sequence number. Gaps remain explicit, and\nretransmissions or conflicting overlaps are counted rather than duplicated.","inputSchema":{"additionalProperties":false,"properties":{"dst_ip":{"description":"Destination IP address of the stream.","type":"string"},"dst_port":{"description":"Destination TCP port of the stream.","type":"integer"},"max_bytes":{"default":1048576,"description":"Maximum unique payload bytes to reconstruct per direction\n(default: 1 MB).","type":"integer"},"max_packets":{"default":10000,"description":"Maximum packets to process (default: 10,000).","type":"integer"},"pcap_path":{"description":"Path to a PCAP or PCAPNG capture file.","type":"string"},"src_ip":{"description":"Source IP address of the stream.","type":"string"},"src_port":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Optional source TCP port. If omitted, a source port is inferred\nonly when exactly one flow matches the IP addresses and destination port."}},"required":["pcap_path","src_ip","dst_ip","dst_port"],"type":"object"},"name":"pcap_reconstruct_stream","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Collect and normalize forensic artifacts from analysis results.\n\nUse this tool to register artifacts discovered during memory, disk, or network\nanalysis. Artifacts are normalized and stored for subsequent correlation with\n``artifact_correlate_ioc`` and YARA rule generation via ``artifact_generate_yara``.","inputSchema":{"additionalProperties":false,"properties":{"artifact_type":{"default":"string","description":"Type of artifact (see ARTIFACT_TYPES for valid values).","type":"string"},"artifacts":{"description":"List of artifact dictionaries. Each should have at least a 'value'\nor 'name' key. Additional fields are stored as metadata.","items":{"additionalProperties":true,"type":"object"},"type":"array"},"source":{"default":"manual","description":"Human-readable source label (e.g., 'memory_malfind', 'pcap_c2_detect').","type":"string"}},"required":["artifacts"],"type":"object"},"name":"artifact_collect","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Correlate collected forensic artifacts against IoC patterns.\n\nRuns IoC extraction patterns (IP, URL, hash, CVE, registry) against all\nartifact values to automatically enrich them with threat intelligence signals.\nUses the existing ``extract_iocs`` infrastructure from the malware module.","inputSchema":{"additionalProperties":false,"properties":{"artifacts":{"description":"List of normalized artifacts (from ``artifact_collect`` output).","items":{"additionalProperties":true,"type":"object"},"type":"array"},"check_domains":{"default":true,"description":"Extract and flag suspicious domains.","type":"boolean"},"check_hashes":{"default":true,"description":"Extract and flag file hashes (MD5/SHA1/SHA256).","type":"boolean"},"check_ips":{"default":true,"description":"Extract and flag suspicious IP addresses.","type":"boolean"}},"required":["artifacts"],"type":"object"},"name":"artifact_correlate_ioc","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Auto-generate YARA rules from collected forensic artifacts.\n\nIntegrates with the adaptive vaccine pipeline to create detection signatures\nfrom suspicious strings, process names, network indicators, and injection\npatterns found during forensics analysis.","inputSchema":{"additionalProperties":false,"properties":{"artifacts":{"description":"List of artifacts (from ``artifact_collect`` or ``artifact_correlate_ioc``).","items":{"additionalProperties":true,"type":"object"},"type":"array"},"output_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Optional path to save the generated .yar rule file.\nIf None, returns rule content only."},"rule_name":{"default":"forensics_auto","description":"Base name for the generated YARA rule (default: 'forensics_auto').","type":"string"}},"required":["artifacts"],"type":"object"},"name":"artifact_generate_yara","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Build a chronological event timeline from multi-source forensic artifacts.\n\nAggregates artifacts from memory, disk (MFT timestamps), and network captures\ninto a single unified timeline, sorted by timestamp.","inputSchema":{"additionalProperties":false,"properties":{"artifacts":{"description":"List of artifacts (from ``artifact_collect`` or ``artifact_correlate_ioc``).\nSource timestamps such as ``mtime`` are preferred; ``collected_at`` is\nretained separately and used only when no source timestamp is available.\nTimestamps without a timezone are interpreted as UTC.","items":{"additionalProperties":true,"type":"object"},"type":"array"},"sort_order":{"default":"asc","description":"Sort order — 'asc' (oldest first) or 'desc' (newest first).","type":"string"}},"required":["artifacts"],"type":"object"},"name":"artifact_timeline","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Export a comprehensive forensics investigation report.\n\nCombines artifact collection summary, IoC correlation results, timeline,\nand optionally auto-generated YARA rules into a structured Markdown report.","inputSchema":{"additionalProperties":false,"properties":{"analyst":{"default":"AI Agent","description":"Analyst name to include in the report header.","type":"string"},"artifacts":{"description":"All collected and enriched artifacts from the investigation.","items":{"additionalProperties":true,"type":"object"},"type":"array"},"case_name":{"default":"forensics_case","description":"Name/identifier for this forensics case.","type":"string"},"include_yara":{"default":true,"description":"If True, auto-generate and include YARA rules in the report.","type":"boolean"},"output_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Optional path to save the report as a Markdown file."}},"required":["artifacts"],"type":"object"},"name":"artifact_report","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Opens a binary file with radare2 for analysis.\n\nCall this tool before any other r2mcp tool. Use an absolute file_path.","inputSchema":{"additionalProperties":false,"properties":{"arch":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"bits":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"file_path":{"description":"Absolute path to the binary file to analyze","type":"string"}},"required":["file_path"],"type":"object"},"name":"Radare2_open_file","outputSchema":{"additionalProperties":true,"type":"object"}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Close the currently open radare2 session for a file.","inputSchema":{"additionalProperties":false,"properties":{"file_path":{"description":"Path to the file to close","type":"string"}},"required":["file_path"],"type":"object"},"name":"Radare2_close_file","outputSchema":{"additionalProperties":true,"type":"object"}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Run binary analysis with optional depth level.","inputSchema":{"additionalProperties":false,"properties":{"arch":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Optional architecture (e.g., 'mips', 'arm64', 'riscv', 'x86_64')"},"bits":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Optional architecture bits (e.g., 32, 64)"},"file_path":{"description":"Path to the binary file","type":"string"},"level":{"default":2,"description":"Analysis depth as an INTEGER from 0 to 4 (default: 2).\nIMPORTANT: Must be an integer. Do NOT pass strings like\n\"full\", \"deep\", or \"auto\" — those will be rejected.\n0 = aa  (basic, fastest)\n1 = aaa (auto)\n2 = aaaa (experimental, recommended default)\n3 = aaaaa (deep, slow)\n4 = aaaaaa (very deep, very slow)","type":"integer"}},"required":["file_path"],"type":"object"},"name":"Radare2_analyze","outputSchema":{"additionalProperties":true,"type":"object"}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Execute a raw radare2 command directly.\n\nNOTE: Only analysis commands are allowed. Write and shell commands are blocked.","inputSchema":{"additionalProperties":false,"properties":{"command":{"description":"The radare2 command to execute","type":"string"},"file_path":{"description":"Path to the binary file","type":"string"}},"required":["file_path","command"],"type":"object"},"name":"Radare2_run_command","outputSchema":{"additionalProperties":true,"type":"object"}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Evaluate a math expression using radare2's number parser.\n\nUseful for: 64-bit math, resolving addresses for symbols,\navoiding hallucinated results.","inputSchema":{"additionalProperties":false,"properties":{"expression":{"description":"Math expression to evaluate (e.g., \"0x100 + sym.flag - 4\")","type":"string"},"file_path":{"description":"Path to the binary file","type":"string"}},"required":["file_path","expression"],"type":"object"},"name":"Radare2_calculate","outputSchema":{"additionalProperties":true,"type":"object"}},{"_meta":{"fastmcp":{"tags":[]}},"description":"List all functions discovered during analysis.","inputSchema":{"additionalProperties":false,"properties":{"file_path":{"description":"Path to the binary file","type":"string"},"filter":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Regular expression to filter results"},"only_named":{"default":false,"description":"If true, exclude functions with numeric suffixes","type":"boolean"}},"required":["file_path"],"type":"object"},"name":"Radare2_list_functions","outputSchema":{"additionalProperties":true,"type":"object"}},{"_meta":{"fastmcp":{"tags":[]}},"description":"List functions and their successors (call tree).","inputSchema":{"additionalProperties":false,"properties":{"file_path":{"description":"Path to the binary file","type":"string"}},"required":["file_path"],"type":"object"},"name":"Radare2_list_functions_tree","outputSchema":{"additionalProperties":true,"type":"object"}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Display detailed information about a function.","inputSchema":{"additionalProperties":false,"properties":{"address":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Function address (uses current if not specified)"},"file_path":{"description":"Path to the binary file","type":"string"}},"required":["file_path"],"type":"object"},"name":"Radare2_show_function_details","outputSchema":{"additionalProperties":true,"type":"object"}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Show the current seek position and function name.","inputSchema":{"additionalProperties":false,"properties":{"file_path":{"description":"Path to the binary file","type":"string"}},"required":["file_path"],"type":"object"},"name":"Radare2_get_current_address","outputSchema":{"additionalProperties":true,"type":"object"}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Retrieve the function signature at the specified address.","inputSchema":{"additionalProperties":false,"properties":{"address":{"description":"Address of the function","type":"string"},"file_path":{"description":"Path to the binary file","type":"string"}},"required":["file_path","address"],"type":"object"},"name":"Radare2_get_function_prototype","outputSchema":{"additionalProperties":true,"type":"object"}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Set the function signature (return type, name, arguments).","inputSchema":{"additionalProperties":false,"properties":{"address":{"description":"Address of the function","type":"string"},"file_path":{"description":"Path to the binary file","type":"string"},"prototype":{"description":"Function signature in C-like syntax","type":"string"}},"required":["file_path","address","prototype"],"type":"object"},"name":"Radare2_set_function_prototype","outputSchema":{"additionalProperties":true,"type":"object"}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Display binary headers and file information.","inputSchema":{"additionalProperties":false,"properties":{"file_path":{"description":"Path to the binary file","type":"string"}},"required":["file_path"],"type":"object"},"name":"Radare2_show_headers","outputSchema":{"additionalProperties":true,"type":"object"}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Display memory sections and segments from the binary.","inputSchema":{"additionalProperties":false,"properties":{"file_path":{"description":"Path to the binary file","type":"string"}},"required":["file_path"],"type":"object"},"name":"Radare2_list_sections","outputSchema":{"additionalProperties":true,"type":"object"}},{"_meta":{"fastmcp":{"tags":[]}},"description":"List imported symbols.\n\nNote: Use list_symbols for addresses with sym.imp. prefix.","inputSchema":{"additionalProperties":false,"properties":{"file_path":{"description":"Path to the binary file","type":"string"},"filter":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Regular expression to filter results"}},"required":["file_path"],"type":"object"},"name":"Radare2_list_imports","outputSchema":{"additionalProperties":true,"type":"object"}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Show all symbols (functions, variables, imports) with addresses.","inputSchema":{"additionalProperties":false,"properties":{"file_path":{"description":"Path to the binary file","type":"string"},"filter":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Regular expression to filter results"}},"required":["file_path"],"type":"object"},"name":"Radare2_list_symbols","outputSchema":{"additionalProperties":true,"type":"object"}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Display program entrypoints, constructors and main function.","inputSchema":{"additionalProperties":false,"properties":{"file_path":{"description":"Path to the binary file","type":"string"}},"required":["file_path"],"type":"object"},"name":"Radare2_list_entrypoints","outputSchema":{"additionalProperties":true,"type":"object"}},{"_meta":{"fastmcp":{"tags":[]}},"description":"List all shared libraries linked to the binary.","inputSchema":{"additionalProperties":false,"properties":{"file_path":{"description":"Path to the binary file","type":"string"}},"required":["file_path"],"type":"object"},"name":"Radare2_list_libraries","outputSchema":{"additionalProperties":true,"type":"object"}},{"_meta":{"fastmcp":{"tags":[]}},"description":"List strings from data sections with optional regex filter.","inputSchema":{"additionalProperties":false,"properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Pagination cursor (line number to start from)"},"detail":{"default":"full","description":"Detail level - 'full' (complete strings list) or 'summary' (categorized counts & sample)","type":"string"},"file_path":{"description":"Path to the binary file","type":"string"},"filter":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Regular expression to filter results"},"page_size":{"default":1000,"description":"Number of lines per page (default: 1000, max: 10000)","type":"integer"}},"required":["file_path"],"type":"object"},"name":"Radare2_list_strings","outputSchema":{"additionalProperties":true,"type":"object"}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Scan the entire binary for strings with optional regex filter.\n\nMore thorough than list_strings, but slower.","inputSchema":{"additionalProperties":false,"properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Pagination cursor"},"detail":{"default":"full","description":"Detail level - 'full' (complete strings list) or 'summary' (categorized counts & sample)","type":"string"},"file_path":{"description":"Path to the binary file","type":"string"},"filter":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Regular expression to filter results"},"page_size":{"default":1000,"description":"Number of lines per page","type":"integer"}},"required":["file_path"],"type":"object"},"name":"Radare2_list_all_strings","outputSchema":{"additionalProperties":true,"type":"object"}},{"_meta":{"fastmcp":{"tags":[]}},"description":"List class names from various languages (C++, ObjC, Swift, Java, Dalvik).","inputSchema":{"additionalProperties":false,"properties":{"file_path":{"description":"Path to the binary file","type":"string"},"filter":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Regular expression to filter results"}},"required":["file_path"],"type":"object"},"name":"Radare2_list_classes","outputSchema":{"additionalProperties":true,"type":"object"}},{"_meta":{"fastmcp":{"tags":[]}},"description":"List all methods belonging to the specified class.","inputSchema":{"additionalProperties":false,"properties":{"classname":{"description":"Name of the class to list methods for","type":"string"},"file_path":{"description":"Path to the binary file","type":"string"}},"required":["file_path","classname"],"type":"object"},"name":"Radare2_list_methods","outputSchema":{"additionalProperties":true,"type":"object"}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Disassemble a specific number of instructions from an address.\n\nUse this to inspect a portion of memory as code without depending\non function analysis boundaries.","inputSchema":{"additionalProperties":false,"properties":{"address":{"description":"Address to start disassembly","type":"string"},"detail":{"default":"full","description":"Detail level - 'full' (complete instructions) or 'summary' (instruction count & preview)","type":"string"},"file_path":{"description":"Path to the binary file","type":"string"},"num_instructions":{"default":10,"description":"Number of instructions to disassemble (default: 10, max: 1000)","type":"integer"}},"required":["file_path","address"],"type":"object"},"name":"Radare2_disassemble","outputSchema":{"additionalProperties":true,"type":"object"}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Show assembly listing of the function at the specified address.","inputSchema":{"additionalProperties":false,"properties":{"address":{"description":"Address OR symbol name of the function to disassemble.\nAccepts hex addresses (e.g. '0x401000', '0x8d4') as well as\nfunction/symbol names (e.g. 'main', 'sym.secret_backdoor',\n'sym.process_request'). Symbol names are automatically\nresolved to their virtual address before disassembly.","type":"string"},"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Pagination cursor"},"detail":{"default":"full","description":"Detail level - 'full' (complete instructions) or 'summary' (instruction count & preview)","type":"string"},"file_path":{"description":"Path to the binary file","type":"string"},"format":{"default":"compact","description":"Output format - 'compact' (compact instruction tuples [addr, mnemonic, ops, comment])\nor 'raw' (raw visual text output). Default: 'compact'.","type":"string"},"page_size":{"default":1000,"description":"Number of lines per page","type":"integer"}},"required":["file_path","address"],"type":"object"},"name":"Radare2_disassemble_function","outputSchema":{"additionalProperties":true,"type":"object"}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Show C-like pseudocode of the function at the given address.\n\nUse this to inspect code in a function. Do not run multiple times\non the same offset. Includes smart line windowing and function summary header.","inputSchema":{"additionalProperties":false,"properties":{"address":{"description":"Address of the function to decompile","type":"string"},"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Legacy pagination cursor (overridden by line_offset if provided)"},"detail":{"default":"full","description":"Detail level - 'full' (complete decompiled code) or 'summary' (signature, metrics & preview)","type":"string"},"file_path":{"description":"Path to the binary file","type":"string"},"line_offset":{"default":0,"description":"Starting line offset for windowed pseudocode (default: 0)","type":"integer"},"max_lines":{"default":200,"description":"Maximum lines of pseudocode per window (default: 200)","type":"integer"},"page_size":{"default":1000,"description":"Legacy page size (overridden by max_lines if provided)","type":"integer"}},"required":["file_path","address"],"type":"object"},"name":"Radare2_decompile_function","outputSchema":{"additionalProperties":true,"type":"object"}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Show all available decompiler backends.","inputSchema":{"additionalProperties":false,"properties":{"file_path":{"description":"Path to the binary file","type":"string"}},"required":["file_path"],"type":"object"},"name":"Radare2_list_decompilers","outputSchema":{"additionalProperties":true,"type":"object"}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Select which decompiler backend to use.","inputSchema":{"additionalProperties":false,"properties":{"file_path":{"description":"Path to the binary file","type":"string"},"name":{"description":"Decompiler name (ghidra, r2dec, pdc)","type":"string"}},"required":["file_path","name"],"type":"object"},"name":"Radare2_use_decompiler","outputSchema":{"additionalProperties":true,"type":"object"}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Find all code references TO the specified address.","inputSchema":{"additionalProperties":false,"properties":{"address":{"description":"Address to check for cross-references (hex or symbol name)","type":"string"},"file_path":{"description":"Path to the binary file","type":"string"},"limit":{"default":50,"description":"Maximum number of xrefs to return (default: 50)","type":"integer"}},"required":["file_path","address"],"type":"object"},"name":"Radare2_xrefs_to","outputSchema":{"additionalProperties":true,"type":"object"}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Rename the function at the specified address.","inputSchema":{"additionalProperties":false,"properties":{"address":{"description":"Address of the function to rename","type":"string"},"file_path":{"description":"Path to the binary file","type":"string"},"name":{"description":"New function name","type":"string"}},"required":["file_path","address","name"],"type":"object"},"name":"Radare2_rename_function","outputSchema":{"additionalProperties":true,"type":"object"}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Rename a flag (variable or data reference) at the specified address.","inputSchema":{"additionalProperties":false,"properties":{"address":{"description":"Address of the flag","type":"string"},"file_path":{"description":"Path to the binary file","type":"string"},"name":{"description":"Current flag name","type":"string"},"new_name":{"description":"New flag name","type":"string"}},"required":["file_path","address","name","new_name"],"type":"object"},"name":"Radare2_rename_flag","outputSchema":{"additionalProperties":true,"type":"object"}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Add a comment at the specified address.","inputSchema":{"additionalProperties":false,"properties":{"address":{"description":"Address to add comment","type":"string"},"file_path":{"description":"Path to the binary file","type":"string"},"message":{"description":"Comment text","type":"string"}},"required":["file_path","address","message"],"type":"object"},"name":"Radare2_set_comment","outputSchema":{"additionalProperties":true,"type":"object"}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Execute vetted radare2 commands for binary triage.","inputSchema":{"additionalProperties":false,"properties":{"file_path":{"type":"string"},"max_output_size":{"default":10000000,"type":"integer"},"r2_command":{"type":"string"},"timeout":{"default":120,"type":"integer"}},"required":["file_path","r2_command"],"type":"object"},"name":"run_radare2","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Trace function calls backwards from a target function (Sink) to find potential execution paths.\n\nThis tool helps identify \"Exploit Paths\" by finding which functions call a dangerous\ntarget function (like 'system', 'strcpy', 'execve'). It performs a recursive\ncross-reference analysis (backtrace) to map out how execution reaches the target.\n\n**Use Cases:**\n- **Vulnerability Analysis**: Check if user input (main/recv) reaches 'system'\n- **Reachability Analysis**: Verify if a vulnerable function is actually called\n- **Taint Analysis Helper**: Provide the path for AI to perform manual taint checking\n\n**Performance Optimizations (v3.0):**\n- Reduced default depth (3→2) for faster analysis\n- Sink-aware pruning: prioritizes paths through dangerous APIs\n- Dynamic timeout based on file size","inputSchema":{"additionalProperties":false,"properties":{"file_path":{"description":"Path to the binary file","type":"string"},"max_depth":{"default":5,"description":"Maximum depth of backtrace (default: 2, reduce for speed)","type":"integer"},"max_paths":{"default":5,"description":"Maximum number of paths to return (default: 5)","type":"integer"},"prioritize_sinks":{"default":true,"description":"Prioritize paths through dangerous sink APIs (default: True)","type":"boolean"},"target_function":{"description":"Name or address of the target function (e.g., 'sym.imp.system', '0x401000')","type":"string"},"timeout":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Execution timeout in seconds (uses dynamic timeout if None)"}},"required":["file_path","target_function"],"type":"object"},"name":"trace_execution_path","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Generate a Control Flow Graph (CFG) for a specific function.\n\nThis tool uses radare2 to analyze the function structure and returns\na visualization code (Mermaid by default) or PNG image that helps AI understand\nthe code flow without reading thousands of lines of assembly.","inputSchema":{"additionalProperties":false,"properties":{"file_path":{"description":"Path to the binary file (must be in workspace)","type":"string"},"format":{"default":"mermaid","description":"Output format ('mermaid', 'json', 'dot', or 'png'). Default is 'mermaid'.","type":"string"},"function_address":{"description":"Function address (e.g., 'main', '0x140001000', 'sym.foo')","type":"string"},"timeout":{"default":120,"description":"Execution timeout in seconds","type":"integer"}},"required":["file_path","function_address"],"type":"object"},"name":"generate_function_graph"},{"_meta":{"fastmcp":{"tags":[]}},"description":"Analyze cross-references (xrefs) for a specific address using radare2.\n\nCross-references show the relationships between code blocks - who calls this\nfunction (callers) and what it calls (callees). This is essential for:\n- Understanding program flow\n- Tracing data dependencies\n- Identifying attack surfaces\n- Reverse engineering malware C&C\n\n**xref_type Options:**\n- **\"to\"**: Show who references this address (callers/jumps TO here)\n- **\"from\"**: Show what this address references (calls/jumps FROM here)\n- **\"all\"**: Show both directions (complete relationship map)","inputSchema":{"additionalProperties":false,"properties":{"address":{"description":"Function or address to analyze (e.g., 'main', '0x401000', 'sym.decrypt')","type":"string"},"file_path":{"description":"Path to the binary file (must be in workspace)","type":"string"},"limit":{"default":50,"description":"Maximum number of xref entries to return per direction (default: 50)","type":"integer"},"timeout":{"default":120,"description":"Execution timeout in seconds (default: 300)","type":"integer"},"xref_type":{"default":"all","description":"Type of cross-references to show: 'all', 'to', 'from' (default: 'all')","type":"string"}},"required":["file_path","address"],"type":"object"},"name":"analyze_xrefs","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Decompile a binary function to pseudo-C using the r2ghidra plugin.\n\nUses the ``pdg`` command which invokes the embedded Ghidra decompiler\nengine inside radare2 — no separate Ghidra or JDK installation required.\nIncludes smart line windowing and function summary header for token efficiency.","inputSchema":{"additionalProperties":false,"properties":{"detail":{"default":"full","description":"Detail level - 'full' (complete pseudocode) or 'summary' (signature, metrics & preview)","type":"string"},"file_path":{"description":"Path to the binary (must be inside the workspace).","type":"string"},"function_address":{"description":"Function to decompile — name (``main``) or hex address\n(``0x401000``).","type":"string"},"line_offset":{"default":0,"description":"Starting line offset for windowed output (default: 0).","type":"integer"},"max_lines":{"default":200,"description":"Maximum number of lines to return (default: 200).","type":"integer"},"timeout":{"default":120,"description":"Maximum execution time in seconds (default 300).","type":"integer"}},"required":["file_path","function_address"],"type":"object"},"name":"r2_decompile","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Recover C struct layouts from a function's memory access patterns.\n\nAnalyses local variables (``afvf``), function arguments (``afvj``), and\ncross-references (``axtj``) to infer struct field offsets and types.","inputSchema":{"additionalProperties":false,"properties":{"file_path":{"description":"Path to the binary (must be inside the workspace).","type":"string"},"function_address":{"description":"Function whose local variables / struct usage to analyse.","type":"string"},"timeout":{"default":120,"description":"Maximum execution time in seconds.","type":"integer"}},"required":["file_path","function_address"],"type":"object"},"name":"r2_recover_structures","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Return full metadata for a binary function via radare2.\n\nRetrieves name, size, cyclomatic complexity, arguments, local variables,\ncall targets, and cross-references using radare2's JSON APIs.","inputSchema":{"additionalProperties":false,"properties":{"file_path":{"description":"Path to the binary (must be inside the workspace).","type":"string"},"function_address":{"description":"Function name or hex address.","type":"string"},"timeout":{"default":120,"description":"Maximum execution time in seconds.","type":"integer"}},"required":["file_path","function_address"],"type":"object"},"name":"r2_analyze_function","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Generate a caller/callee call graph for a function.\n\nUses radare2's ``agCd`` (call-graph dot) and ``axtj`` (cross-reference JSON)\ncommands to build a structured graph.","inputSchema":{"additionalProperties":false,"properties":{"depth":{"default":2,"description":"Maximum call depth to traverse (default 2).","type":"integer"},"file_path":{"description":"Path to the binary (must be inside the workspace).","type":"string"},"function_address":{"description":"Root function name or hex address.","type":"string"},"timeout":{"default":120,"description":"Maximum execution time in seconds.","type":"integer"}},"required":["file_path","function_address"],"type":"object"},"name":"r2_get_call_graph","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Simulate a byte-level patch at an address and re-decompile.\n\nCopies the binary to a temporary workspace cache file, opens that copy in\nwrite mode, applies ``patch_bytes`` at ``address``, then runs r2ghidra's\n``pdg``. The original file remains read-only throughout the simulation.","inputSchema":{"additionalProperties":false,"properties":{"address":{"description":"Target address (e.g. ``0x401020``).","type":"string"},"file_path":{"description":"Path to the binary (must be inside the workspace).","type":"string"},"patch_bytes":{"description":"Hex string of bytes to write (e.g. ``\"9090\"`` for 2 NOPs).","type":"string"},"timeout":{"default":120,"description":"Maximum execution time in seconds.","type":"integer"}},"required":["file_path","address","patch_bytes"],"type":"object"},"name":"r2_simulate_patch","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"List all saved C struct definitions for a binary.","inputSchema":{"additionalProperties":false,"properties":{"file_path":{"type":"string"},"limit":{"default":50,"type":"integer"},"offset":{"default":0,"type":"integer"}},"required":["file_path"],"type":"object"},"name":"r2_list_structures","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Retrieve a single saved struct definition by name.","inputSchema":{"additionalProperties":false,"properties":{"file_path":{"type":"string"},"name":{"type":"string"}},"required":["file_path","name"],"type":"object"},"name":"r2_get_structure","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Save (or replace) a C struct definition in the annotation DB.","inputSchema":{"additionalProperties":false,"properties":{"fields":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{}]},"file_path":{"type":"string"},"name":{"type":"string"}},"required":["file_path","name","fields"],"type":"object"},"name":"r2_create_structure","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"List all custom type definitions saved for a binary.","inputSchema":{"additionalProperties":false,"properties":{"file_path":{"type":"string"},"limit":{"default":100,"type":"integer"},"offset":{"default":0,"type":"integer"}},"required":["file_path"],"type":"object"},"name":"r2_list_types","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"List all saved bookmarks / address annotations for a binary.","inputSchema":{"additionalProperties":false,"properties":{"category":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"file_path":{"type":"string"},"limit":{"default":100,"type":"integer"},"offset":{"default":0,"type":"integer"}},"required":["file_path"],"type":"object"},"name":"r2_list_bookmarks","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Add (or update) an annotated bookmark at a binary address.","inputSchema":{"additionalProperties":false,"properties":{"address":{"type":"string"},"category":{"default":"note","type":"string"},"comment":{"type":"string"},"file_path":{"type":"string"}},"required":["file_path","address","comment"],"type":"object"},"name":"r2_add_bookmark","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Read raw bytes from a binary at a given virtual address.","inputSchema":{"additionalProperties":false,"properties":{"address":{"type":"string"},"file_path":{"type":"string"},"size":{"default":64,"type":"integer"}},"required":["file_path","address"],"type":"object"},"name":"r2_read_memory","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Emulate machine code execution using radare2 ESIL (Evaluable Strings Intermediate Language).\n\nThis tool provides safe, sandboxed emulation of binary code without actual execution.\nPerfect for analyzing obfuscated code, understanding register states, and predicting\nexecution outcomes without security risks.","inputSchema":{"additionalProperties":false,"properties":{"file_path":{"description":"Path to the binary file (must be in workspace)","type":"string"},"instructions":{"default":50,"description":"Number of instructions to execute (default 50, max 1000)","type":"integer"},"start_address":{"description":"Address to start emulation (e.g., 'main', '0x401000', 'sym.decrypt')","type":"string"},"timeout":{"default":120,"description":"Execution timeout in seconds","type":"integer"}},"required":["file_path","start_address"],"type":"object"},"name":"emulate_machine_code","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Get accurate system timestamp from the server.\n\nReturns OS-level time data to prevent AI date hallucination.\nIncludes multiple formats (ISO, Unix, human-readable) and timezone info.\n\nReturns:\n    JSON with report_id, date formats, time formats, timezone info","inputSchema":{"additionalProperties":false,"properties":{},"type":"object"},"name":"get_system_time","outputSchema":{"properties":{"result":{"type":"string"}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Set the default timezone for timestamps.","inputSchema":{"additionalProperties":false,"properties":{"timezone":{"description":"Timezone name (UTC, Asia/Seoul, Asia/Tokyo, etc.)","type":"string"}},"required":["timezone"],"type":"object"},"name":"set_timezone","outputSchema":{"properties":{"result":{"type":"string"}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Get current timezone configuration and available options.\n\nReturns:\n    JSON with current timezone, offset, and all available timezones","inputSchema":{"additionalProperties":false,"properties":{},"type":"object"},"name":"get_timezone_info","outputSchema":{"properties":{"result":{"type":"string"}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Start a new malware analysis session.\n\nAutomatically tracks start time, sample hashes, IOCs, and MITRE techniques.","inputSchema":{"additionalProperties":false,"properties":{"analyst":{"default":"Security Researcher","description":"Name of the analyst","type":"string"},"malware_family":{"default":"","description":"Known malware family name","type":"string"},"sample_path":{"default":"","description":"Path to the malware sample to analyze","type":"string"},"severity":{"default":"medium","description":"Initial severity (low, medium, high, critical)","type":"string"},"tags":{"default":"","description":"Comma-separated tags","type":"string"}},"type":"object"},"name":"start_report_session","outputSchema":{"properties":{"result":{"type":"string"}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"End the current analysis session.","inputSchema":{"additionalProperties":false,"properties":{"session_id":{"default":"","description":"Session ID to end (uses current if not specified)","type":"string"},"status":{"default":"completed","description":"Final status - \"completed\" or \"aborted\"","type":"string"},"summary":{"default":"","description":"Brief summary of findings","type":"string"}},"type":"object"},"name":"end_report_session","outputSchema":{"properties":{"result":{"type":"string"}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Get current session information and collected data.","inputSchema":{"additionalProperties":false,"properties":{"session_id":{"default":"","description":"Session ID to query (uses current if not specified)","type":"string"}},"type":"object"},"name":"get_report_session_status","outputSchema":{"properties":{"result":{"type":"string"}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"List all analysis sessions with their status and duration.\n\nReturns:\n    List of all sessions with summary information","inputSchema":{"additionalProperties":false,"properties":{},"type":"object"},"name":"list_report_sessions","outputSchema":{"properties":{"result":{"type":"string"}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Add an Indicator of Compromise to the current session.","inputSchema":{"additionalProperties":false,"properties":{"ioc_type":{"description":"Type of IOC (hashes, ips, domains, urls, files, registry, mutexes, emails)","type":"string"},"session_id":{"default":"","description":"Session ID (uses current if not specified)","type":"string"},"value":{"description":"The IOC value","type":"string"}},"required":["ioc_type","value"],"type":"object"},"name":"add_ioc","outputSchema":{"properties":{"result":{"type":"string"}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Add a timestamped note to the analysis session.","inputSchema":{"additionalProperties":false,"properties":{"category":{"default":"general","description":"Note category (general, finding, todo, warning)","type":"string"},"note":{"description":"The analysis note","type":"string"},"session_id":{"default":"","description":"Session ID (uses current if not specified)","type":"string"}},"required":["note"],"type":"object"},"name":"add_analysis_note","outputSchema":{"properties":{"result":{"type":"string"}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Add a MITRE ATT&CK technique to the session.","inputSchema":{"additionalProperties":false,"properties":{"session_id":{"default":"","description":"Session ID (uses current if not specified)","type":"string"},"tactic":{"description":"MITRE tactic (e.g., \"Defense Evasion\", \"Persistence\")","type":"string"},"technique_id":{"description":"MITRE ID (e.g., \"T1055\", \"T1547.001\")","type":"string"},"technique_name":{"description":"Technique name","type":"string"}},"required":["technique_id","technique_name","tactic"],"type":"object"},"name":"add_mitre_technique","outputSchema":{"properties":{"result":{"type":"string"}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Update the severity level of the analysis.","inputSchema":{"additionalProperties":false,"properties":{"session_id":{"default":"","description":"Session ID (uses current if not specified)","type":"string"},"severity":{"description":"Severity level (low, medium, high, critical)","type":"string"}},"required":["severity"],"type":"object"},"name":"set_severity","outputSchema":{"properties":{"result":{"type":"string"}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Generate a comprehensive analysis report.","inputSchema":{"additionalProperties":false,"properties":{"analyst":{"default":"Security Researcher","description":"Analyst name shown in report header.\nDefault: \"Security Researcher\".","type":"string"},"classification":{"default":"TLP:AMBER","description":"Report classification level. Options:\n\"TLP:RED\", \"TLP:AMBER\" (default), \"TLP:GREEN\", \"TLP:WHITE\".","type":"string"},"output_format":{"default":"markdown","description":"Output format. Must be \"markdown\" (default) or \"json\".\nIMPORTANT: The parameter name is 'output_format', NOT 'format'.","type":"string"},"sample_path":{"default":"","description":"Path to the sample file. Only needed when not using\na session (session_id takes precedence when provided).","type":"string"},"session_id":{"default":"","description":"Session ID returned by start_report_session.\nUses the most recent active session if not specified.","type":"string"},"template_type":{"default":"full_analysis","description":"Report template type. Options:\n- \"full_analysis\" (default) — complete technical report\n- \"executive_summary\"       — high-level management brief\n- \"ioc_report\"             — IOC-focused export\n- \"quick_scan\"             — terse one-page summary","type":"string"}},"type":"object"},"name":"create_analysis_report","outputSchema":{"properties":{"result":{"type":"string"}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Generate a CSAF 2.0 VEX JSON report from vulnerability findings.\n\nVEX (Vulnerability Exploitability eXchange) is a format for sharing the\nexploitability status of a software product in a machine-readable way.","inputSchema":{"additionalProperties":false,"properties":{"document_title":{"default":"Reversecore MCP VEX Report","description":"Title of the generated document.","type":"string"},"product_name":{"description":"Name of the analyzed binary or product.","type":"string"},"product_version":{"description":"Version, hash, or build identifier of the product.","type":"string"},"vulnerabilities":{"description":"JSON string containing a list of vulnerability objects.\nEach object should have:\n- id: str (e.g., \"CVE-2023-1234\")\n- description: str\n- confidence: str (\"confirmed\", \"likely\", \"false_positive\", etc.)\n- evidence_level: str (optional, e.g., \"dead_code\", \"static_sink\")","type":"string"}},"required":["product_name","product_version","vulnerabilities"],"type":"object"},"name":"generate_vex_report","outputSchema":{"properties":{"result":{"type":"string"}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Generate a Sigma rule (YAML) for SIEM integration based on extracted IOCs or API calls.","inputSchema":{"additionalProperties":false,"properties":{"api_calls":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"default":null,"description":"List of API functions to detect (e.g., VirtualAlloc, CreateRemoteThread)"},"category":{"default":"process_creation","description":"Logsource category (e.g., process_creation, network_connection)","type":"string"},"description":{"default":"Auto-generated Sigma rule based on binary analysis","description":"Description of the rule","type":"string"},"iocs":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"default":null,"description":"List of IP addresses, URLs, or file hashes to detect"},"level":{"default":"medium","description":"Severity level (low, medium, high, critical)","type":"string"},"product":{"default":"windows","description":"Logsource product (e.g., windows, linux)","type":"string"},"title":{"description":"Title of the Sigma rule","type":"string"}},"required":["title"],"type":"object"},"name":"generate_sigma_rule","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}},{"_meta":{"fastmcp":{"tags":[]}},"description":"Retrieve the status and result of a background job from the task queue.","inputSchema":{"additionalProperties":false,"properties":{"job_id":{"description":"The ID of the queued job to check.","type":"string"}},"required":["job_id"],"type":"object"},"name":"get_job_result","outputSchema":{"properties":{"result":{"anyOf":[{"description":"Represents a successful tool invocation.","properties":{"data":{},"error":{"default":null,"type":"null"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"ok":{"const":true,"default":true,"type":"boolean"},"pagination":{"anyOf":[{"description":"Metadata describing pagination and bounding status.","properties":{"has_more":{"default":false,"type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"page":{"default":1,"type":"integer"},"page_size":{"default":100,"type":"integer"},"total_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"truncated":{"default":false,"type":"boolean"}},"type":"object"},{"type":"null"}],"default":null},"recommended_next_tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null},"status":{"const":"success","default":"success","type":"string"},"truncation":{"anyOf":[{"description":"Structured truncation contract for bounded MCP tool outputs (Issue #326).","properties":{"continuation":{"anyOf":[{"description":"Continuation parameters for retrieving remainder of truncated outputs.","properties":{"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null},"offset":{"type":"integer"}},"required":["offset"],"type":"object"},{"type":"null"}],"default":null},"returned_bytes":{"type":"integer"},"saved_artifact":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"total_captured_bytes":{"type":"integer"},"truncated":{"default":true,"type":"boolean"}},"required":["returned_bytes","total_captured_bytes"],"type":"object"},{"type":"null"}],"default":null},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["data"],"type":"object"},{"description":"Represents a failed tool invocation.","properties":{"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null},"error":{"anyOf":[{"description":"Machine-readable structured error contract for agent reasoning and recovery.","properties":{"code":{"type":"string"},"message":{"type":"string"},"recovery_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"retryable":{"default":false,"type":"boolean"}},"required":["code","message"],"type":"object"},{"type":"null"}],"default":null},"error_code":{"type":"string"},"hint":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"message":{"type":"string"},"ok":{"const":false,"default":false,"type":"boolean"},"status":{"const":"error","default":"error","type":"string"},"warnings":{"default":[],"items":{"type":"string"},"type":"array"}},"required":["error_code","message"],"type":"object"}]}},"required":["result"],"type":"object","x-fastmcp-wrap-result":true}}]}}}
