Files
imhex/plugins/builtin/romfs/mcp/tools/get_patterns.json

24 lines
855 B
JSON

{
"name": "get_patterns",
"title": "Get Patterns",
"description": "This command retrieves the patterns generated by the last executed Pattern Language code. Patterns will only be returned if the last execution was successful (i.e., the result_code was 0). If the execution failed, no patterns will be returned.",
"inputSchema": {
"type": "object",
"properties": {
}
},
"outputSchema": {
"type": "object",
"properties": {
"handle": {
"type": "number",
"description": "Handle of the data source the data was read from"
},
"patterns": {
"type": "object",
"description": "The patterns generated by the Pattern Language"
}
},
"required": ["handle", "patterns"]
}
}