invalidate_cache
Clear the semantic cache for an agent to force fresh SQL generation after schema changes or data refreshes. The cache rebuilds automatically with new queries.
Instructions
Drop the entire semantic cache for an agent.
Use this after a schema change or data refresh to force fresh SQL
generation on the next query. The cache is rebuilt automatically
as new queries arrive.
Args:
agent_id: Agent whose cache should be cleared.
Returns:
Confirmation string.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |