Tribal: Set Session Context
tribal_set_contextSet or override session-level context to declare your model identity or switch projects at session start.
Instructions
Set or override session-level context for Tribal. Use this at the start of a session to declare your model identity, or when switching to a different project.
Session context is used as the default for all subsequent tool calls. For example, setting a project here means tribal_ingest and tribal_discover will use it automatically without needing project_id on every call.
The server resolves what it can at connection start (project from git remote, principal from auth). Use this tool to fill in what the server cannot infer (model name, provider) or to override what it resolved (e.g., switching projects).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | The model you are running as. e.g., 'claude-sonnet-4-5-20250514'. Set once at session start. | |
| project_id | No | Override the active project. Use when working in a different project than the one resolved from the git remote. | |
| provider | No | The inference provider. e.g., 'anthropic', 'openai'. Set once at session start. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actor | Yes | ||
| principal_key | Yes | ||
| project | No |