clear_signals
Remove one signal or all signals from the in-memory repository to free memory and reset monitoring data.
Instructions
Remove one signal — or all signals — from the in-memory repository.
Args:
ctx: MCP context. Unused — see this module's docstring on logging.
signal_id: ID to remove; None (default) clears the whole cache.
Returns:
Dict with cleared_count, plus signal_id and status ('removed' or
'not_found') for single-signal calls.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "clear_signals"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| signal_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||