invariance_capture_create
Create a standalone evidence record for a session, conversation, or trace. Capture source, model, tags, and metadata now, then link it to a run later for observability and evaluation.
Instructions
Create a Capture — a standalone evidence record (session, conversation, trace). Captures don't need an execution upfront; link a capture to a run later with invariance_capture_link. Returns the capture session.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Free-form labels for filtering and evidence-graph rollups, e.g. ["meeting","q3"]. Normalized (trimmed/lowercased/deduped) server-side. | |
| model | No | Model name used in the session, e.g. "claude-opus-4-7". | |
| title | No | Human-readable title shown in dashboards. | |
| run_id | No | Link this capture to an existing run at creation time. Can also be linked later with invariance_capture_link. | |
| source | Yes | Origin of the capture, e.g. "claude_code", "api", "browser", "zapier". | |
| metadata | No | Free-form metadata as a JSON object string. Example: {"user_id":"u_42","environment":"prod"} | |
| capture_type | No | Alias for session_type — use either; session_type takes precedence. | |
| session_type | No | Type classification for the session, e.g. "chat", "tool_use", "workflow". | |
| external_session_id | No | Your system's session identifier for deduplication and cross-referencing. |