Cache Workspace Nodes
cache_workspace_nodesCaches a complete snapshot of all workspace nodes to disk for offline access and bulk analysis.
Instructions
Fetch and cache the ENTIRE workspace's nodes to disk — a full snapshot of every node. Run this ONLY when the user explicitly wants the whole workspace cached. For targeted work, prefer search_workspace_content, get_workspace_node, or get_workspace_subgraph; for a profile use analyze_workspace_patterns. detail=false is much cheaper and sufficient for inventory; detail=true on a large workspace produces a very large snapshot. Note: the result is a coalesce://cache/... resource link, which clients that do not support MCP resources (e.g. Snowflake Cortex Code) cannot read.
Args:
workspaceID (string, required): The workspace ID
detail (boolean, optional): Fetch expanded node details. Defaults to true
pageSize (number, optional): API page size for collection. Defaults to 250, max 500
orderBy (string, optional): Sort field for paginated collection. Defaults to id
orderByDirection ('asc'|'desc', optional): Sort direction
Returns: Cache metadata with resourceUri (coalesce://cache/...) for accessing the cached data via MCP resource read.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | When true, fetches expanded node details. Defaults to true. | |
| orderBy | No | Optional sort field used for paginated collection. Defaults to id. | |
| pageSize | No | Optional API page size used while collecting the full snapshot. Defaults to 250. | |
| workspaceID | Yes | The workspace ID | |
| orderByDirection | No | Optional sort direction used for paginated collection. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | ||
| fileUri | No | ||
| message | No | ||
| metaUri | No | ||
| orderBy | No | ||
| runType | No | ||
| cachedAt | No | ||
| pageSize | No | ||
| toolName | No | ||
| pageCount | No | ||
| runStatus | No | ||
| sizeBytes | No | ||
| totalRuns | No | ||
| autoCached | No | ||
| totalNodes | No | ||
| totalUsers | No | ||
| resourceUri | No | ||
| workspaceID | No | ||
| environmentID | No | ||
| maxInlineBytes | No | ||
| orderByDirection | No |