tidebase

v0.1.1
io.github.BlueprintLabIO/tidebase Checked 10 hours ago Published 5 months ago

Inspect Tidebase agent runs, resolve approval gates, and trigger recovery from your AI assistant.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

tidebase_health Check Tidebase server health

Verify the Tidebase server is reachable. Use this first if other tools fail. Configured server: http://localhost:7373

tidebase_list_runs List recent runs

List the 100 most recent Tidebase runs with workflow name, status, attempt count, and timestamps. Use to find a run id or get an overview of what is running, failed, or awaiting review.

tidebase_get_run Get full run detail

Fetch everything Tidebase knows about one run: the run record, checkpointed steps (with resume contracts and failure classification), live state, versioned state streams, parent/child run edges, gates, recovery attempts, channel deliveries, usage records, and the append-only event log. Use to answer "where did this run stop and is it safe to rerun?"

ParameterTypeDescription
runId *stringRun id, e.g. run_abc123

tidebase_create_run Create a run

Create a new Tidebase run row for a workflow. Note: Tidebase does not execute code — creating a run registers it (with optional input, recovery webhook, and channels); your application must invoke the workflow function with this run id for steps to execute.

ParameterTypeDescription
workflowName *stringWorkflow name, e.g. generate-report
inputWorkflow input, stored with the run
recoveryWebhookstringURL Tidebase calls with a signed run.resume payload when the run fails

tidebase_get_state_versions Get state version history

Read the versioned state history of a run. A snapshot is a labeled state version; time travel is reading an older version. Filter to one stream or to labeled versions (snapshots) only.

ParameterTypeDescription
runId *stringRun id
labeledOnlybooleanReturn only labeled versions (snapshots)
streamstringLimit to one state stream by name

tidebase_resolve_gate Resolve an approval gate

Approve, reject, or cancel a pending human-approval gate. Requires the gate resolveToken (found in the gate record via tidebase_get_run, or in the gate.created webhook payload). Gates resolve exactly once: a second attempt returns a conflict. Only resolve a gate when the human you are assisting has explicitly made the decision.

ParameterTypeDescription
decision *stringThe decision
gateId *stringGate id
runId *stringRun id the gate belongs to
token *stringThe gate resolveToken
actorstringWho decided, for the audit record

tidebase_trigger_recovery Trigger run recovery

Ask Tidebase to dispatch the run's recovery webhook so the owning application re-invokes the workflow. Completed steps replay from checkpoints; only unfinished steps execute. Has no effect unless the run was created with a recoveryWebhook.

ParameterTypeDescription
runId *stringRun id to recover