prolog_reset_layer
Clear a session or scratch layer to remove temporary facts and rules, resetting the state for new queries or debugging.
Instructions
Clear a session or scratch layer (core and agent layers are permanent)
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": {
"layer": "<layer>"
},
"name": "prolog_reset_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | Yes | 'session:<id>' or 'scratch' |