Capture local inference context
local_context_createCreate an immutable, workspace-bound context from source files and shared instructions without starting a model. Returns one-time bearer tokens for access.
Instructions
Capture an immutable workspace-bound context without starting a model.
Returns owner/access bearer tokens once; keep them outside prompts and logs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl_seconds | No | Context lifetime 30..3600 seconds, default 900, further capped by owner. | |
| max_requests | No | Context model-call budget 1..100, default 10, capped by owner. | |
| source_paths | No | At most 32 unique regular UTF-8 files relative to source_root_id; default empty. No absolute paths, traversal or symlinks. | |
| common_system | Yes | Required UTF-8 common system instructions; empty allowed. Context total capped by owner, default 256 KiB. | |
| shared_context | Yes | Required UTF-8 shared data. Shared text plus captured files must contain data. | |
| source_root_id | No | Optional owner-configured root ID, null by default; required with source_paths. No raw root path override. | |
| artifact_manifest | No | Optional pinned active artifact manifest. The broker hydrates its exact selected artifacts before generation, checks byte/token budgets and rechecks access/integrity before dispatch, publication and result reads. | |
| max_total_output_tokens | No | Context aggregate output budget 1..65536, default 4096, capped by owner. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||