clear_signals
Remove a specific vibration signal or clear all signals from the in-memory repository. The asset ledger on disk remains untouched.
Instructions
Remove one signal — or all signals — from the in-memory repository.
Memory only; the asset ledger on disk is untouched. A measurement
recorded at load time stays in its asset's history, and re-loading the
file later is recognized as the same measurement.
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| signal_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||