prolog_query
Execute a Prolog goal and receive all solutions as JSON for deterministic symbolic reasoning.
Instructions
Execute a Prolog goal and return all solutions as JSON
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"goal": "<goal>"
},
"name": "prolog_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | Yes | Prolog goal, e.g. 'ancestor(tom, X)' | |
| timeout_ms | No | Timeout in ms (default 5000) |