pcc_create_scope
Create an execution scope for a job. Scopes define exactly which tool calls are allowed on a kernel during a job, with command budgets, retry limits, and time-to-live. Required before issuing SCOPED WRITE operations (protocol upload, run create, run action).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | No | Job ID this scope is bound to (optional) | |
| kernelId | Yes | Kernel ID to create the scope for | |
| maxRetries | No | Maximum retries allowed (default 3) | |
| ttlMinutes | No | Scope duration in minutes (default 30) | |
| maxCommands | No | Maximum tool calls allowed in this scope (default 100) | |
| allowedSlots | No | Which deck slots may be accessed (e.g. [1, 2, 3, 9]) | |
| allowedTools | Yes | List of tool names allowed in this scope (e.g. ['ot2_protocol_upload', 'ot2_run_create', 'ot2_run_action']) | |
| protocolHash | No | SHA-256 hash of the approved protocol content. If set, protocol uploads are hash-verified. | |
| allowedPipettes | No | Which pipettes may be used (e.g. ['left']) |