Refresh Swagger Cache
swagger_refresh_cacheForce-refetches Swagger documentation and updates the cache after API interfaces change; specify a service or omit it to refresh all services.
Instructions
Force-refetch Swagger documentation data and update the cache.
Use this after the documentation has been updated (interfaces added or modified) to fetch the latest data.
Parameters:
source (optional): Service name. Omit to refresh all services.
Returns: Refresh results, including success/failure status and updated interface counts.
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": "swagger_refresh_cache"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | Service name. Omit to refresh the cache for all services. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| failed | No | ||
| refreshed | Yes |