بنقرة واحدة
check-session
// Check MCP session state—target, load time, stale flag, runs, warehouse type. Use as a gate before analysis primitives.
// Check MCP session state—target, load time, stale flag, runs, warehouse type. Use as a gate before analysis primitives.
Establish the dbt artifact root for this session (local path, s3://, or gs://). Use before any other dbt-tools analysis primitive.
Establish the dbt artifact root for this session (local path, s3://, or gs://). Use before any other dbt-tools analysis primitive.
Check whether dbt artifacts exist, are fresh, and which readiness level applies. Use as a gate before manifest- or run_results-based analysis.
Return metadata and context for one dbt resource by unique_id. Use when explaining what a model, source, or test does.
Find dbt resources by name, type, tag, package, or path. Use to resolve unique_id before describe-resource, trace-dependencies, or query-executions.
Filter and sort run_results node executions by status, time, and warehouse metrics. Use for post-run triage and slow-node investigation.
| name | check-session |
| description | Check MCP session state—target, load time, stale flag, runs, warehouse type. Use as a gate before analysis primitives. |
| compatibility | dbt-tools MCP server enabled; bind-target applied when target was null. |
Handle: dbt-tools-mcp:check-session
target, loadedAtMs, stale, versionToken, runs[], warehouse_type; optional lastRefreshError, cachedTargets, cachePolicy, fromCache (on recent set_target)bind-target when target was previously nullreadiness matrix (use CLI plugin for manifest-only preflight)