clear_context_scripts
Clears temporary or permanent context scripts from the registry by category or specific script name to manage script storage.
Instructions
Clear context scripts from the registry.
Args:
category: Optional category to clear. If None, clears all categories.
script_name: Optional specific script to clear. Requires category to be specified.
clear_permanent: If True, also clears permanent scripts. If False (default), only clears temporary scripts.
Returns:
Confirmation message
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_context_scripts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | No | ||
| script_name | No | ||
| clear_permanent | No |