refresh_metadata_cache
Clears the in-memory metadata cache to force fresh schema data from ServiceNow on next access. Use after making schema changes like adding fields or CI classes.
Instructions
Clear the in-memory metadata cache, forcing fresh data on next access.
Clears all cached schema data including class hierarchies, field definitions, relationship types, and instance metadata. The next tool or resource access will re-fetch from ServiceNow automatically.
Use this after making schema changes in ServiceNow (e.g., adding fields, creating new CI classes, or modifying relationship types) to ensure the MCP server reflects the latest state.
Returns: JSON object confirming the cache was cleared.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |