Creates an idle session that runs a version of an agent in an environment and returns it. The agent’s definition is snapshotted into the session: the named version (the latest when none is named), its skills with every version resolved, and the model and system of agent_with_overrides; later changes to the agent or its skills never reach the session. File resources are checked and mounted, memory stores attached with a snapshot of their name and description, and vaults checked usable. No turn starts: send a user.message to the session’s events. Members BMA does not support for sessions (budget, initial_events, github_repository resources, per-session tools or mcp_servers other than an empty list) are refused with 400, never ignored. Send an Idempotency-Key to make retries safe: the session and its completed idempotency record commit in one transaction with claim fencing, so the same key with the same body replays the first answer (including its ETag) for 24 hours without creating a duplicate, and with another body it is refused. Without a key, an official SDK retry (X-Stainless-Retry-Count of 1 or more) of the same body within 10 minutes is merged with the first request. The response carries a strong ETag header for conditional updates with If-Match.
Authorization: Organization API key (x-api-key: bma_org_v1_…), personal access token (Authorization: Bearer bma_pat_v1_…), OAuth access token or signed-in dashboard session; a user credential names its organization with bma-organization-id. The request acts in one workspace: the one named by bma-workspace-id (or anthropic-workspace-id; when both are sent they must agree), else the credential’s default workspace (an API key’s own workspace, else its organization’s Default workspace), else the only workspace the credential can use. The caller’s workspace role must be admin, developer or operator (viewer is refused); organization owners and admins act as workspace admins in every workspace of their organization.
Limits:
Request body: at most 1 MiB (1,048,576 bytes).
Idempotency-Key: 1 to 255 visible ASCII characters; a completed key replays its answer for 24 hours; a key whose request is still running blocks the key for at most 10 minutes.
vault_ids: at most 50 distinct vaults.
resources: at most 100 entries; memory store instructions at most 4,096 characters.
Skills of the session (the agent’s or the override’s): at most 500.
bma_executor_config: cwd at most 4,096 bytes, thinking_level at most 64, model at most 200.
Rate limit: one request of the organization’s write budget (Rate limits).
Errors (besides the common errors (401 authentication, 429 rate_limited, 500)):
Status
error.type
error.code
Cause
Fix
400
invalid_request_error
environment_archived
The environment is archived and takes no new sessions.
Correct the request as the message describes and send it again; the same request will keep failing.
400
invalid_request_error
harness_unavailable
The session’s brain (bma_harness) cannot run in this deployment or where the environment places it.
Correct the request as the message describes and send it again; the same request will keep failing.
400
invalid_request_error
idempotency_key_reused
The Idempotency-Key was used in the last 24 hours with a different request.
Correct the request as the message describes and send it again; the same request will keep failing.
400
invalid_request_error
invalid_field
A member has the wrong type or form: agent missing or not an ID or agent object, agent.version below 1, title or metadata not strings, a malformed resources entry or mount_path, a memory store attached twice, two resources on one mount path, a repeated or empty vault ID, a skill without skill_id or listed with two versions, or an invalid bma_placement or bma_executor_config.
Correct the request as the message describes and send it again; the same request will keep failing.
400
invalid_request_error
invalid_idempotency_key
Idempotency-Key is not 1 to 255 visible ASCII characters.
Correct the request as the message describes and send it again; the same request will keep failing.
400
invalid_request_error
invalid_json
The body cannot be read or is not a JSON object.
Correct the request as the message describes and send it again; the same request will keep failing.
400
invalid_request_error
invalid_metadata
The metadata has more than 16 pairs, a key that is empty or longer than 64 characters, or a value longer than 512 characters.
Correct the request as the message describes and send it again; the same request will keep failing.
400
invalid_request_error
invalid_model_override
bma_model_override (or the deprecated credential members of agent.model) is malformed.
Correct the request as the message describes and send it again; the same request will keep failing.
400
invalid_request_error
invalid_model_override_url
The model override’s base URL is not an HTTPS origin.
Correct the request as the message describes and send it again; the same request will keep failing.
400
invalid_request_error
mcp_server_host_not_allowed
The environment’s limited networking does not allow the host of one of the agent’s MCP servers.
Correct the request as the message describes and send it again; the same request will keep failing.
400
invalid_request_error
model_limits_unknown
The override’s model has no known context window and output limit.
Choose a model whose limits are known, or declare its limits, and send the request again.
400
invalid_request_error
model_not_available
The brain on the session’s machine does not offer the model of bma_executor_config.
Correct the request as the message describes and send it again; the same request will keep failing.
400
invalid_request_error
model_override_key_rejected
The model override’s API key is too short or too long.
Correct the request as the message describes and send it again; the same request will keep failing.
400
invalid_request_error
model_protocol_mismatch
The model override’s API format does not fit its endpoint.
Correct the request as the message describes and send it again; the same request will keep failing.
400
invalid_request_error
organization_required
A user credential (personal access token, OAuth token, dashboard session) names no organization.
Name the organization with the bma-organization-id header.
400
invalid_request_error
placement_unsatisfiable
bma_placement names a machine outside the environment’s candidates, or no candidate hosts the brain.
Correct the request as the message describes and send it again; the same request will keep failing.
400
invalid_request_error
project_required
The credential can use several workspaces and the request names none.
Name the workspace with the bma-workspace-id header.
400
invalid_request_error
too_many_skills
The session would have more than 500 skills.
Correct the request as the message describes and send it again; the same request will keep failing.
400
invalid_request_error
unsupported
A skill has typeanthropic; only custom skills are hosted.
Correct the request as the message describes and send it again; the same request will keep failing.
400
invalid_request_error
unsupported_session_option
The body sets a member BMA does not support for sessions (budget, initial_events, any unknown member), a resource type other than file and memory_store, or a feature the deployment does not serve (vaults, resources, bma_model_override, bma_placement).
Correct the request as the message describes and send it again; the same request will keep failing.
400
invalid_request_error
unsupported_session_override
agent_with_overrides sets tools or mcp_servers to a non-empty list, or combines bma_model_override with the deprecated credential members of agent.model.
Correct the request as the message describes and send it again; the same request will keep failing.
400
invalid_request_error
workspace_id_conflict
bma-workspace-id and anthropic-workspace-id name different workspaces.
Correct the request as the message describes and send it again; the same request will keep failing.
403
permission_error
permission_denied
The caller’s workspace role is viewer, which may read sessions but not change them.
Use a credential with the required role or access; retrying with the same credential will not help.
403
permission_error
remote_brain_not_allowed
The brain would run on another machine and no hands machine’s owner allows a remote brain.
Use a credential with the required role or access; retrying with the same credential will not help.
404
not_found_error
agent_not_found
No agent with this ID exists in the workspace.
Check the ID and the organization or workspace it belongs to; do not retry the same request.
404
not_found_error
agent_version_not_found
The agent has no such version.
Check the ID and the organization or workspace it belongs to; do not retry the same request.
404
not_found_error
environment_not_found
environment_id names no environment of the workspace.
Check the ID and the organization or workspace it belongs to; do not retry the same request.
404
not_found_error
file_not_found
The file of a file resource does not exist in the workspace.
Check the ID and the organization or workspace it belongs to; do not retry the same request.
404
not_found_error
machine_not_found
The machine of an mch_ environment or of bma_placement does not exist or may not be used by this agent.
Check the ID and the organization or workspace it belongs to; do not retry the same request.
404
not_found_error
memory_store_not_found
The memory store of a memory_store resource does not exist in the workspace.
Check the ID and the organization or workspace it belongs to; do not retry the same request.
404
not_found_error
skill_not_found
A skill of the session does not exist or is not visible to the workspace.
Check the ID and the organization or workspace it belongs to; do not retry the same request.
404
not_found_error
skill_version_not_found
A skill version named by the session does not exist.
Check the ID and the organization or workspace it belongs to; do not retry the same request.
404
not_found_error
vault_not_found
A vault of vault_ids does not exist in the workspace.
Check the ID and the organization or workspace it belongs to; do not retry the same request.
409
conflict_error
idempotency_key_in_use
A request with the same Idempotency-Key is still being processed.
Retry after a short delay; the first request’s answer is replayed once it completes.
409
conflict_error
memory_store_archived
The memory store of a memory_store resource is archived.
Re-read the resource, resolve the conflicting state, then send the request again.
413
request_too_large
request_too_large
The body is larger than 1 MiB.
Reduce the size of the request body or upload in smaller parts.
The agent the session runs: its aprf_ ID (its latest version), {"type": "agent", "id", "version"} to pin a version, or {"type": "agent_with_overrides", ...}, whose model, system and skills replace the agent's for this session only. Its tools and mcp_servers may only be [] (clear the list for this session); any other list is refused.
environment_id
string
required
ID of the environment the session runs in: an env_ environment, or an mch_ machine environment the agent may use. An unknown or archived environment is refused.
budget
object
Not supported on BMA: A non-null value is refused with 400 unsupported_session_option.
Enforced spend ceiling for the session. Omit to create an uncapped session. Every model the session can run — the agent's model and each callable agent's model — must have a public list price, or the request is rejected with reason model_not_budgetable.
Show child attributes
initial_events
object[]
Not supported on BMA: A non-empty list is refused with 400 unsupported_session_option.
Send the first user.message to the session's events after creating it.
Parameters for sending a user message to the session.
Option 1
Option 2
Show child attributes
metadata
object
Key-value strings stored with the session and returned as sent: at most 16 pairs, keys of 1 to 64 characters, values of at most 512 characters.
Show child attributes
resources
object[]
What to mount in the session, at most 100 entries: file resources (an uploaded file, mounted below /mnt/session/uploads/) and memory_store resources (mounted at /mnt/memory/<store name>). A github_repository resource is refused with 400 unsupported_session_option.
Not supported on BMA: A github_repository resource is refused with 400 unsupported_session_option.
Mount a GitHub repository into the session's container.
Option 1
Option 2
Option 3
Show child attributes
title
string | null
Human-readable title. Omitted or null leaves the session untitled; an untitled session may be titled automatically after its first answered turn.
vault_ids
string[]
Vaults (vlt_ IDs) whose credentials the session's agent uses, at most 50, distinct, first vault first. Each must exist in the workspace and not be archived.
Response
The created session, idle and with no events yet.
A Managed Agents session.
id
string
required
ID of the session (ses_ followed by 26 lowercase base32 characters).
agent
object
required
The agent the session runs, snapshotted when the session was created: the agent version with the session's own model and system overrides and its skills with every version resolved. It never changes afterwards.
Show child attributes
archived_at
string | null
required
When the session was archived (RFC 3339, UTC); null while it is not archived.
budget
object | null
required
Always null on BMA, which does not support session budgets.
Show child attributes
created_at
string
required
When the session was created (RFC 3339, UTC, up to microsecond precision).
environment_id
string
required
ID of the environment the session runs in (env_, or mch_ for a machine environment); an empty string when the session was created without one.
metadata
object
required
The session's key-value metadata, {} when it has none.
Show child attributes
outcome_evaluations
object[]
required
Always an empty list on BMA, which does not support outcomes.
Show child attributes
resources
object[]
required
What the session mounts, in the order it was mounted: file and memory_store resources. BMA never mounts github_repository resources.
A resource mounted in a session: a file or a memory_store. BMA never mounts github_repository resources.
Option 1
Option 2
Option 3
Show child attributes
stats
object
required
Timing statistics in seconds. active_seconds: the time the session's turns ran, less the time they waited for a tool confirmation or custom tool result; time queued behind an earlier turn is not counted. duration_seconds: the time since the session was created, frozen when it terminated or was archived.
Show child attributes
status
enum<string>
required
idle (no turn runs, also while the agent waits for a tool confirmation or custom tool result), running (a turn is queued or runs) or terminated (archived). BMA never reports rescheduling.
Available options:
rescheduling,
running,
idle,
terminated
title
string | null
required
The session's title; null while it has none. An untitled session may be titled automatically after its first answered turn.
type
string
required
Always session.
Allowed value: "session"
updated_at
string
required
When the session last changed (RFC 3339, UTC, up to microsecond precision).
usage
object
required
Cumulative usage of the session's model requests, updated when a turn ends: token counts, cache creation tokens and the list cost in US cents.
Show child attributes
vault_ids
string[]
required
Vaults (vlt_ IDs) the session was created with, in order; empty when none.
deployment_id
string | null
The deployment whose run created the session; null for sessions created through this API.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"BMA Developer Docs","description":"BMA (BeeOS Managed Agents): an open-source agent runtime. Any brain × any hands, computer use, remote desktop, terminal, a replaceable scheduler and a durable event log, with the Anthropic Managed Agents API under /v1, the official SDKs and the Executor Protocol.","colors":{"primary":"#F97316","light":"#FB923C","dark":"#C2410C"},"logo":{"light":"/logo/light.svg","dark":"/logo/dark.svg","href":"/"},"favicon":"/favicon.svg","api":{"playground":{"display":"simple"},"examples":{"languages":["curl","python","javascript","go"]}},"appearance":{"default":"system"},"navbar":{"links":[{"href":"https://github.com/beeos-ai/bma-sdk","label":"bma-sdk"},{"href":"https://github.com/beeos-ai/bma-executor-sdk","label":"bma-executor-sdk"}]},"footer":{"socials":{"github":"https://github.com/beeos-ai"}},"fonts":{"heading":{"family":"Inter","weight":600},"body":{"family":"Inter","weight":400}},"integrations":{"telemetry":{"enabled":false}},"navigation":{"languages":[{"language":"en","default":true,"href":""},{"language":"zh","href":"zh"},{"language":"zh-Hant","href":"zh-Hant"},{"language":"ja","href":"ja"},{"language":"ko","href":"ko"}]}},"deployment":{"deploymentMetadataValue":{"hasAudioNarration":false,"customDomains":[],"gitSource":{"type":"github","owner":"local","repo":"local","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"local","isBase":true},"buildId":"local","clientVersion":"0.0.4338"},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"googleFontsInlined":false,"isLoggedInCli":false,"mintExport":{}},"customCss":[{"filePath":"style.css","content":"html:lang(zh){--font-family-body-custom: Inter, \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei\", \"Noto Sans SC\", \"Noto Sans CJK SC\";--font-family-headings-custom: var(--font-family-body-custom)}html:lang(zh-Hant){--font-family-body-custom: Inter, \"PingFang TC\", \"Microsoft JhengHei\", \"Noto Sans TC\", \"Noto Sans CJK TC\"}html:is(:lang(zh),:lang(ja),:lang(ko)) [data-layout-item=\"page-header\"] .prose{font-size:1.0625rem;line-height:1.8}html:is(:lang(zh),:lang(ja),:lang(ko)) :is(h1,h2,h3,h4){letter-spacing:normal}html:is(:lang(zh),:lang(ja),:lang(ko)) .prose :not(pre)>code{padding:0.125em 0.3em}html:is(:lang(zh),:lang(ja),:lang(ko)) .prose :is(td,th){line-height:1.65}"}]}
{"page":{"pagePath":"api-reference/endpoints/sessions/create-session","slug":"/api-reference/endpoints/sessions/create-session","pageMetadata":{"openapi":"/api-reference/bma.openapi.yaml post /v1/sessions","description":"Creates an idle session that runs a version of an agent in an environment and returns it. The agent's definition is snapshotted into the session: the named version (the latest when none is named), its skills with every version resolved, and the `model` and `system` of `agent_with_overrides`; later changes to the agent or its skills never reach the session. File resources are checked and mounted, memory stores attached with a snapshot of their name and description, and vaults checked usable. No turn starts: send a `user.message` to the session's events. Members BMA does not support for sessions (`budget`, `initial_events`, `github_repository` resources, per-session `tools` or `mcp_servers` other than an empty list) are refused with 400, never ignored. Send an `Idempotency-Key` to make retries safe: the session and its completed idempotency record commit in one transaction with claim fencing, so the same key with the same body replays the first answer (including its `ETag`) for 24 hours without creating a duplicate, and with another body it is refused. Without a key, an official SDK retry (`X-Stainless-Retry-Count` of 1 or more) of the same body within 10 minutes is merged with the first request. The response carries a strong `ETag` header for conditional updates with `If-Match`.\n\n**Authorization:** Organization API key (`x-api-key: bma_org_v1_…`), personal access token (`Authorization: Bearer bma_pat_v1_…`), OAuth access token or signed-in dashboard session; a user credential names its organization with `bma-organization-id`. The request acts in one workspace: the one named by `bma-workspace-id` (or `anthropic-workspace-id`; when both are sent they must agree), else the credential's default workspace (an API key's own workspace, else its organization's Default workspace), else the only workspace the credential can use. The caller's workspace role must be `admin`, `developer` or `operator` (`viewer` is refused); organization owners and admins act as workspace admins in every workspace of their organization.\n\n**Limits:**\n\n- Request body: at most 1 MiB (1,048,576 bytes).\n- `Idempotency-Key`: 1 to 255 visible ASCII characters; a completed key replays its answer for 24 hours; a key whose request is still running blocks the key for at most 10 minutes.\n- `vault_ids`: at most 50 distinct vaults.\n- `resources`: at most 100 entries; memory store `instructions` at most 4,096 characters.\n- Skills of the session (the agent's or the override's): at most 500.\n- `bma_executor_config`: `cwd` at most 4,096 bytes, `thinking_level` at most 64, `model` at most 200.\n- Rate limit: one request of the organization's write budget ([Rate limits](https://docs.beeos.ai/guides/limits)).\n\n**Errors** (besides the [common errors](https://docs.beeos.ai/api-reference/errors) (401 authentication, 429 `rate_limited`, 500)):\n\n| Status | `error.type` | `error.code` | Cause | Fix |\n| --- | --- | --- | --- | --- |\n| 400 | `invalid_request_error` | `environment_archived` | The environment is archived and takes no new sessions. | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 400 | `invalid_request_error` | `harness_unavailable` | The session's brain (`bma_harness`) cannot run in this deployment or where the environment places it. | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 400 | `invalid_request_error` | `idempotency_key_reused` | The `Idempotency-Key` was used in the last 24 hours with a different request. | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 400 | `invalid_request_error` | `invalid_field` | A member has the wrong type or form: `agent` missing or not an ID or agent object, `agent.version` below 1, `title` or `metadata` not strings, a malformed `resources` entry or `mount_path`, a memory store attached twice, two resources on one mount path, a repeated or empty vault ID, a skill without `skill_id` or listed with two versions, or an invalid `bma_placement` or `bma_executor_config`. | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 400 | `invalid_request_error` | `invalid_idempotency_key` | `Idempotency-Key` is not 1 to 255 visible ASCII characters. | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 400 | `invalid_request_error` | `invalid_json` | The body cannot be read or is not a JSON object. | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 400 | `invalid_request_error` | `invalid_metadata` | The metadata has more than 16 pairs, a key that is empty or longer than 64 characters, or a value longer than 512 characters. | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 400 | `invalid_request_error` | `invalid_model_override` | `bma_model_override` (or the deprecated credential members of `agent.model`) is malformed. | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 400 | `invalid_request_error` | `invalid_model_override_url` | The model override's base URL is not an HTTPS origin. | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 400 | `invalid_request_error` | `mcp_server_host_not_allowed` | The environment's limited networking does not allow the host of one of the agent's MCP servers. | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 400 | `invalid_request_error` | `model_limits_unknown` | The override's model has no known context window and output limit. | Choose a model whose limits are known, or declare its limits, and send the request again. |\n| 400 | `invalid_request_error` | `model_not_available` | The brain on the session's machine does not offer the model of `bma_executor_config`. | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 400 | `invalid_request_error` | `model_override_key_rejected` | The model override's API key is too short or too long. | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 400 | `invalid_request_error` | `model_protocol_mismatch` | The model override's API format does not fit its endpoint. | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 400 | `invalid_request_error` | `organization_required` | A user credential (personal access token, OAuth token, dashboard session) names no organization. | Name the organization with the `bma-organization-id` header. |\n| 400 | `invalid_request_error` | `placement_unsatisfiable` | `bma_placement` names a machine outside the environment's candidates, or no candidate hosts the brain. | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 400 | `invalid_request_error` | `project_required` | The credential can use several workspaces and the request names none. | Name the workspace with the `bma-workspace-id` header. |\n| 400 | `invalid_request_error` | `too_many_skills` | The session would have more than 500 skills. | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 400 | `invalid_request_error` | `unsupported` | A skill has `type` `anthropic`; only `custom` skills are hosted. | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 400 | `invalid_request_error` | `unsupported_session_option` | The body sets a member BMA does not support for sessions (`budget`, `initial_events`, any unknown member), a resource type other than `file` and `memory_store`, or a feature the deployment does not serve (vaults, resources, `bma_model_override`, `bma_placement`). | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 400 | `invalid_request_error` | `unsupported_session_override` | `agent_with_overrides` sets `tools` or `mcp_servers` to a non-empty list, or combines `bma_model_override` with the deprecated credential members of `agent.model`. | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 400 | `invalid_request_error` | `workspace_id_conflict` | `bma-workspace-id` and `anthropic-workspace-id` name different workspaces. | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 403 | `permission_error` | `permission_denied` | The caller's workspace role is `viewer`, which may read sessions but not change them. | Use a credential with the required role or access; retrying with the same credential will not help. |\n| 403 | `permission_error` | `remote_brain_not_allowed` | The brain would run on another machine and no hands machine's owner allows a remote brain. | Use a credential with the required role or access; retrying with the same credential will not help. |\n| 404 | `not_found_error` | `agent_not_found` | No agent with this ID exists in the workspace. | Check the ID and the organization or workspace it belongs to; do not retry the same request. |\n| 404 | `not_found_error` | `agent_version_not_found` | The agent has no such version. | Check the ID and the organization or workspace it belongs to; do not retry the same request. |\n| 404 | `not_found_error` | `environment_not_found` | `environment_id` names no environment of the workspace. | Check the ID and the organization or workspace it belongs to; do not retry the same request. |\n| 404 | `not_found_error` | `file_not_found` | The file of a `file` resource does not exist in the workspace. | Check the ID and the organization or workspace it belongs to; do not retry the same request. |\n| 404 | `not_found_error` | `machine_not_found` | The machine of an `mch_` environment or of `bma_placement` does not exist or may not be used by this agent. | Check the ID and the organization or workspace it belongs to; do not retry the same request. |\n| 404 | `not_found_error` | `memory_store_not_found` | The memory store of a `memory_store` resource does not exist in the workspace. | Check the ID and the organization or workspace it belongs to; do not retry the same request. |\n| 404 | `not_found_error` | `skill_not_found` | A skill of the session does not exist or is not visible to the workspace. | Check the ID and the organization or workspace it belongs to; do not retry the same request. |\n| 404 | `not_found_error` | `skill_version_not_found` | A skill version named by the session does not exist. | Check the ID and the organization or workspace it belongs to; do not retry the same request. |\n| 404 | `not_found_error` | `vault_not_found` | A vault of `vault_ids` does not exist in the workspace. | Check the ID and the organization or workspace it belongs to; do not retry the same request. |\n| 409 | `conflict_error` | `idempotency_key_in_use` | A request with the same `Idempotency-Key` is still being processed. | Retry after a short delay; the first request's answer is replayed once it completes. |\n| 409 | `conflict_error` | `memory_store_archived` | The memory store of a `memory_store` resource is archived. | Re-read the resource, resolve the conflicting state, then send the request again. |\n| 413 | `request_too_large` | `request_too_large` | The body is larger than 1 MiB. | Reduce the size of the request body or upload in smaller parts. |","href":"/api-reference/endpoints/sessions/create-session","title":"Create Session"},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n a: \"a\",\n code: \"code\",\n li: \"li\",\n p: \"p\",\n strong: \"strong\",\n table: \"table\",\n tbody: \"tbody\",\n td: \"td\",\n th: \"th\",\n thead: \"thead\",\n tr: \"tr\",\n ul: \"ul\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Creates an idle session that runs a version of an agent in an environment and returns it. The agent’s definition is snapshotted into the session: the named version (the latest when none is named), its skills with every version resolved, and the \", _jsx(_components.code, {\n children: \"model\"\n }), \" and \", _jsx(_components.code, {\n children: \"system\"\n }), \" of \", _jsx(_components.code, {\n children: \"agent_with_overrides\"\n }), \"; later changes to the agent or its skills never reach the session. File resources are checked and mounted, memory stores attached with a snapshot of their name and description, and vaults checked usable. No turn starts: send a \", _jsx(_components.code, {\n children: \"user.message\"\n }), \" to the session’s events. Members BMA does not support for sessions (\", _jsx(_components.code, {\n children: \"budget\"\n }), \", \", _jsx(_components.code, {\n children: \"initial_events\"\n }), \", \", _jsx(_components.code, {\n children: \"github_repository\"\n }), \" resources, per-session \", _jsx(_components.code, {\n children: \"tools\"\n }), \" or \", _jsx(_components.code, {\n children: \"mcp_servers\"\n }), \" other than an empty list) are refused with 400, never ignored. Send an \", _jsx(_components.code, {\n children: \"Idempotency-Key\"\n }), \" to make retries safe: the session and its completed idempotency record commit in one transaction with claim fencing, so the same key with the same body replays the first answer (including its \", _jsx(_components.code, {\n children: \"ETag\"\n }), \") for 24 hours without creating a duplicate, and with another body it is refused. Without a key, an official SDK retry (\", _jsx(_components.code, {\n children: \"X-Stainless-Retry-Count\"\n }), \" of 1 or more) of the same body within 10 minutes is merged with the first request. The response carries a strong \", _jsx(_components.code, {\n children: \"ETag\"\n }), \" header for conditional updates with \", _jsx(_components.code, {\n children: \"If-Match\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Authorization:\"\n }), \" Organization API key (\", _jsx(_components.code, {\n children: \"x-api-key: bma_org_v1_…\"\n }), \"), personal access token (\", _jsx(_components.code, {\n children: \"Authorization: Bearer bma_pat_v1_…\"\n }), \"), OAuth access token or signed-in dashboard session; a user credential names its organization with \", _jsx(_components.code, {\n children: \"bma-organization-id\"\n }), \". The request acts in one workspace: the one named by \", _jsx(_components.code, {\n children: \"bma-workspace-id\"\n }), \" (or \", _jsx(_components.code, {\n children: \"anthropic-workspace-id\"\n }), \"; when both are sent they must agree), else the credential’s default workspace (an API key’s own workspace, else its organization’s Default workspace), else the only workspace the credential can use. The caller’s workspace role must be \", _jsx(_components.code, {\n children: \"admin\"\n }), \", \", _jsx(_components.code, {\n children: \"developer\"\n }), \" or \", _jsx(_components.code, {\n children: \"operator\"\n }), \" (\", _jsx(_components.code, {\n children: \"viewer\"\n }), \" is refused); organization owners and admins act as workspace admins in every workspace of their organization.\"]\n }), \"\\n\", _jsx(_components.p, {\n children: _jsx(_components.strong, {\n children: \"Limits:\"\n })\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsx(_components.li, {\n children: \"Request body: at most 1 MiB (1,048,576 bytes).\"\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"Idempotency-Key\"\n }), \": 1 to 255 visible ASCII characters; a completed key replays its answer for 24 hours; a key whose request is still running blocks the key for at most 10 minutes.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"vault_ids\"\n }), \": at most 50 distinct vaults.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"resources\"\n }), \": at most 100 entries; memory store \", _jsx(_components.code, {\n children: \"instructions\"\n }), \" at most 4,096 characters.\"]\n }), \"\\n\", _jsx(_components.li, {\n children: \"Skills of the session (the agent’s or the override’s): at most 500.\"\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"bma_executor_config\"\n }), \": \", _jsx(_components.code, {\n children: \"cwd\"\n }), \" at most 4,096 bytes, \", _jsx(_components.code, {\n children: \"thinking_level\"\n }), \" at most 64, \", _jsx(_components.code, {\n children: \"model\"\n }), \" at most 200.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [\"Rate limit: one request of the organization’s write budget (\", _jsx(_components.a, {\n href: \"https://docs.beeos.ai/guides/limits\",\n children: \"Rate limits\"\n }), \").\"]\n }), \"\\n\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Errors\"\n }), \" (besides the \", _jsx(_components.a, {\n href: \"https://docs.beeos.ai/api-reference/errors\",\n children: \"common errors\"\n }), \" (401 authentication, 429 \", _jsx(_components.code, {\n children: \"rate_limited\"\n }), \", 500)):\"]\n }), \"\\n\", _jsxs(_components.table, {\n children: [_jsx(_components.thead, {\n children: _jsxs(_components.tr, {\n children: [_jsx(_components.th, {\n children: \"Status\"\n }), _jsx(_components.th, {\n children: _jsx(_components.code, {\n children: \"error.type\"\n })\n }), _jsx(_components.th, {\n children: _jsx(_components.code, {\n children: \"error.code\"\n })\n }), _jsx(_components.th, {\n children: \"Cause\"\n }), _jsx(_components.th, {\n children: \"Fix\"\n })]\n })\n }), _jsxs(_components.tbody, {\n children: [_jsxs(_components.tr, {\n children: [_jsx(_components.td, {\n children: \"400\"\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"invalid_request_error\"\n })\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"environment_archived\"\n })\n }), _jsx(_components.td, {\n children: \"The environment is archived and takes no new sessions.\"\n }), _jsx(_components.td, {\n children: \"Correct the request as the message describes and send it again; the same request will keep failing.\"\n })]\n }), _jsxs(_components.tr, {\n children: [_jsx(_components.td, {\n children: \"400\"\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"invalid_request_error\"\n })\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"harness_unavailable\"\n })\n }), _jsxs(_components.td, {\n children: [\"The session’s brain (\", _jsx(_components.code, {\n children: \"bma_harness\"\n }), \") cannot run in this deployment or where the environment places it.\"]\n }), _jsx(_components.td, {\n children: \"Correct the request as the message describes and send it again; the same request will keep failing.\"\n })]\n }), _jsxs(_components.tr, {\n children: [_jsx(_components.td, {\n children: \"400\"\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"invalid_request_error\"\n })\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"idempotency_key_reused\"\n })\n }), _jsxs(_components.td, {\n children: [\"The \", _jsx(_components.code, {\n children: \"Idempotency-Key\"\n }), \" was used in the last 24 hours with a different request.\"]\n }), _jsx(_components.td, {\n children: \"Correct the request as the message describes and send it again; the same request will keep failing.\"\n })]\n }), _jsxs(_components.tr, {\n children: [_jsx(_components.td, {\n children: \"400\"\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"invalid_request_error\"\n })\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"invalid_field\"\n })\n }), _jsxs(_components.td, {\n children: [\"A member has the wrong type or form: \", _jsx(_components.code, {\n children: \"agent\"\n }), \" missing or not an ID or agent object, \", _jsx(_components.code, {\n children: \"agent.version\"\n }), \" below 1, \", _jsx(_components.code, {\n children: \"title\"\n }), \" or \", _jsx(_components.code, {\n children: \"metadata\"\n }), \" not strings, a malformed \", _jsx(_components.code, {\n children: \"resources\"\n }), \" entry or \", _jsx(_components.code, {\n children: \"mount_path\"\n }), \", a memory store attached twice, two resources on one mount path, a repeated or empty vault ID, a skill without \", _jsx(_components.code, {\n children: \"skill_id\"\n }), \" or listed with two versions, or an invalid \", _jsx(_components.code, {\n children: \"bma_placement\"\n }), \" or \", _jsx(_components.code, {\n children: \"bma_executor_config\"\n }), \".\"]\n }), _jsx(_components.td, {\n children: \"Correct the request as the message describes and send it again; the same request will keep failing.\"\n })]\n }), _jsxs(_components.tr, {\n children: [_jsx(_components.td, {\n children: \"400\"\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"invalid_request_error\"\n })\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"invalid_idempotency_key\"\n })\n }), _jsxs(_components.td, {\n children: [_jsx(_components.code, {\n children: \"Idempotency-Key\"\n }), \" is not 1 to 255 visible ASCII characters.\"]\n }), _jsx(_components.td, {\n children: \"Correct the request as the message describes and send it again; the same request will keep failing.\"\n })]\n }), _jsxs(_components.tr, {\n children: [_jsx(_components.td, {\n children: \"400\"\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"invalid_request_error\"\n })\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"invalid_json\"\n })\n }), _jsx(_components.td, {\n children: \"The body cannot be read or is not a JSON object.\"\n }), _jsx(_components.td, {\n children: \"Correct the request as the message describes and send it again; the same request will keep failing.\"\n })]\n }), _jsxs(_components.tr, {\n children: [_jsx(_components.td, {\n children: \"400\"\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"invalid_request_error\"\n })\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"invalid_metadata\"\n })\n }), _jsx(_components.td, {\n children: \"The metadata has more than 16 pairs, a key that is empty or longer than 64 characters, or a value longer than 512 characters.\"\n }), _jsx(_components.td, {\n children: \"Correct the request as the message describes and send it again; the same request will keep failing.\"\n })]\n }), _jsxs(_components.tr, {\n children: [_jsx(_components.td, {\n children: \"400\"\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"invalid_request_error\"\n })\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"invalid_model_override\"\n })\n }), _jsxs(_components.td, {\n children: [_jsx(_components.code, {\n children: \"bma_model_override\"\n }), \" (or the deprecated credential members of \", _jsx(_components.code, {\n children: \"agent.model\"\n }), \") is malformed.\"]\n }), _jsx(_components.td, {\n children: \"Correct the request as the message describes and send it again; the same request will keep failing.\"\n })]\n }), _jsxs(_components.tr, {\n children: [_jsx(_components.td, {\n children: \"400\"\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"invalid_request_error\"\n })\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"invalid_model_override_url\"\n })\n }), _jsx(_components.td, {\n children: \"The model override’s base URL is not an HTTPS origin.\"\n }), _jsx(_components.td, {\n children: \"Correct the request as the message describes and send it again; the same request will keep failing.\"\n })]\n }), _jsxs(_components.tr, {\n children: [_jsx(_components.td, {\n children: \"400\"\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"invalid_request_error\"\n })\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"mcp_server_host_not_allowed\"\n })\n }), _jsx(_components.td, {\n children: \"The environment’s limited networking does not allow the host of one of the agent’s MCP servers.\"\n }), _jsx(_components.td, {\n children: \"Correct the request as the message describes and send it again; the same request will keep failing.\"\n })]\n }), _jsxs(_components.tr, {\n children: [_jsx(_components.td, {\n children: \"400\"\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"invalid_request_error\"\n })\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"model_limits_unknown\"\n })\n }), _jsx(_components.td, {\n children: \"The override’s model has no known context window and output limit.\"\n }), _jsx(_components.td, {\n children: \"Choose a model whose limits are known, or declare its limits, and send the request again.\"\n })]\n }), _jsxs(_components.tr, {\n children: [_jsx(_components.td, {\n children: \"400\"\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"invalid_request_error\"\n })\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"model_not_available\"\n })\n }), _jsxs(_components.td, {\n children: [\"The brain on the session’s machine does not offer the model of \", _jsx(_components.code, {\n children: \"bma_executor_config\"\n }), \".\"]\n }), _jsx(_components.td, {\n children: \"Correct the request as the message describes and send it again; the same request will keep failing.\"\n })]\n }), _jsxs(_components.tr, {\n children: [_jsx(_components.td, {\n children: \"400\"\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"invalid_request_error\"\n })\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"model_override_key_rejected\"\n })\n }), _jsx(_components.td, {\n children: \"The model override’s API key is too short or too long.\"\n }), _jsx(_components.td, {\n children: \"Correct the request as the message describes and send it again; the same request will keep failing.\"\n })]\n }), _jsxs(_components.tr, {\n children: [_jsx(_components.td, {\n children: \"400\"\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"invalid_request_error\"\n })\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"model_protocol_mismatch\"\n })\n }), _jsx(_components.td, {\n children: \"The model override’s API format does not fit its endpoint.\"\n }), _jsx(_components.td, {\n children: \"Correct the request as the message describes and send it again; the same request will keep failing.\"\n })]\n }), _jsxs(_components.tr, {\n children: [_jsx(_components.td, {\n children: \"400\"\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"invalid_request_error\"\n })\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"organization_required\"\n })\n }), _jsx(_components.td, {\n children: \"A user credential (personal access token, OAuth token, dashboard session) names no organization.\"\n }), _jsxs(_components.td, {\n children: [\"Name the organization with the \", _jsx(_components.code, {\n children: \"bma-organization-id\"\n }), \" header.\"]\n })]\n }), _jsxs(_components.tr, {\n children: [_jsx(_components.td, {\n children: \"400\"\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"invalid_request_error\"\n })\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"placement_unsatisfiable\"\n })\n }), _jsxs(_components.td, {\n children: [_jsx(_components.code, {\n children: \"bma_placement\"\n }), \" names a machine outside the environment’s candidates, or no candidate hosts the brain.\"]\n }), _jsx(_components.td, {\n children: \"Correct the request as the message describes and send it again; the same request will keep failing.\"\n })]\n }), _jsxs(_components.tr, {\n children: [_jsx(_components.td, {\n children: \"400\"\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"invalid_request_error\"\n })\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"project_required\"\n })\n }), _jsx(_components.td, {\n children: \"The credential can use several workspaces and the request names none.\"\n }), _jsxs(_components.td, {\n children: [\"Name the workspace with the \", _jsx(_components.code, {\n children: \"bma-workspace-id\"\n }), \" header.\"]\n })]\n }), _jsxs(_components.tr, {\n children: [_jsx(_components.td, {\n children: \"400\"\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"invalid_request_error\"\n })\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"too_many_skills\"\n })\n }), _jsx(_components.td, {\n children: \"The session would have more than 500 skills.\"\n }), _jsx(_components.td, {\n children: \"Correct the request as the message describes and send it again; the same request will keep failing.\"\n })]\n }), _jsxs(_components.tr, {\n children: [_jsx(_components.td, {\n children: \"400\"\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"invalid_request_error\"\n })\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"unsupported\"\n })\n }), _jsxs(_components.td, {\n children: [\"A skill has \", _jsx(_components.code, {\n children: \"type\"\n }), \" \", _jsx(_components.code, {\n children: \"anthropic\"\n }), \"; only \", _jsx(_components.code, {\n children: \"custom\"\n }), \" skills are hosted.\"]\n }), _jsx(_components.td, {\n children: \"Correct the request as the message describes and send it again; the same request will keep failing.\"\n })]\n }), _jsxs(_components.tr, {\n children: [_jsx(_components.td, {\n children: \"400\"\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"invalid_request_error\"\n })\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"unsupported_session_option\"\n })\n }), _jsxs(_components.td, {\n children: [\"The body sets a member BMA does not support for sessions (\", _jsx(_components.code, {\n children: \"budget\"\n }), \", \", _jsx(_components.code, {\n children: \"initial_events\"\n }), \", any unknown member), a resource type other than \", _jsx(_components.code, {\n children: \"file\"\n }), \" and \", _jsx(_components.code, {\n children: \"memory_store\"\n }), \", or a feature the deployment does not serve (vaults, resources, \", _jsx(_components.code, {\n children: \"bma_model_override\"\n }), \", \", _jsx(_components.code, {\n children: \"bma_placement\"\n }), \").\"]\n }), _jsx(_components.td, {\n children: \"Correct the request as the message describes and send it again; the same request will keep failing.\"\n })]\n }), _jsxs(_components.tr, {\n children: [_jsx(_components.td, {\n children: \"400\"\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"invalid_request_error\"\n })\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"unsupported_session_override\"\n })\n }), _jsxs(_components.td, {\n children: [_jsx(_components.code, {\n children: \"agent_with_overrides\"\n }), \" sets \", _jsx(_components.code, {\n children: \"tools\"\n }), \" or \", _jsx(_components.code, {\n children: \"mcp_servers\"\n }), \" to a non-empty list, or combines \", _jsx(_components.code, {\n children: \"bma_model_override\"\n }), \" with the deprecated credential members of \", _jsx(_components.code, {\n children: \"agent.model\"\n }), \".\"]\n }), _jsx(_components.td, {\n children: \"Correct the request as the message describes and send it again; the same request will keep failing.\"\n })]\n }), _jsxs(_components.tr, {\n children: [_jsx(_components.td, {\n children: \"400\"\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"invalid_request_error\"\n })\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"workspace_id_conflict\"\n })\n }), _jsxs(_components.td, {\n children: [_jsx(_components.code, {\n children: \"bma-workspace-id\"\n }), \" and \", _jsx(_components.code, {\n children: \"anthropic-workspace-id\"\n }), \" name different workspaces.\"]\n }), _jsx(_components.td, {\n children: \"Correct the request as the message describes and send it again; the same request will keep failing.\"\n })]\n }), _jsxs(_components.tr, {\n children: [_jsx(_components.td, {\n children: \"403\"\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"permission_error\"\n })\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"permission_denied\"\n })\n }), _jsxs(_components.td, {\n children: [\"The caller’s workspace role is \", _jsx(_components.code, {\n children: \"viewer\"\n }), \", which may read sessions but not change them.\"]\n }), _jsx(_components.td, {\n children: \"Use a credential with the required role or access; retrying with the same credential will not help.\"\n })]\n }), _jsxs(_components.tr, {\n children: [_jsx(_components.td, {\n children: \"403\"\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"permission_error\"\n })\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"remote_brain_not_allowed\"\n })\n }), _jsx(_components.td, {\n children: \"The brain would run on another machine and no hands machine’s owner allows a remote brain.\"\n }), _jsx(_components.td, {\n children: \"Use a credential with the required role or access; retrying with the same credential will not help.\"\n })]\n }), _jsxs(_components.tr, {\n children: [_jsx(_components.td, {\n children: \"404\"\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"not_found_error\"\n })\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"agent_not_found\"\n })\n }), _jsx(_components.td, {\n children: \"No agent with this ID exists in the workspace.\"\n }), _jsx(_components.td, {\n children: \"Check the ID and the organization or workspace it belongs to; do not retry the same request.\"\n })]\n }), _jsxs(_components.tr, {\n children: [_jsx(_components.td, {\n children: \"404\"\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"not_found_error\"\n })\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"agent_version_not_found\"\n })\n }), _jsx(_components.td, {\n children: \"The agent has no such version.\"\n }), _jsx(_components.td, {\n children: \"Check the ID and the organization or workspace it belongs to; do not retry the same request.\"\n })]\n }), _jsxs(_components.tr, {\n children: [_jsx(_components.td, {\n children: \"404\"\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"not_found_error\"\n })\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"environment_not_found\"\n })\n }), _jsxs(_components.td, {\n children: [_jsx(_components.code, {\n children: \"environment_id\"\n }), \" names no environment of the workspace.\"]\n }), _jsx(_components.td, {\n children: \"Check the ID and the organization or workspace it belongs to; do not retry the same request.\"\n })]\n }), _jsxs(_components.tr, {\n children: [_jsx(_components.td, {\n children: \"404\"\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"not_found_error\"\n })\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"file_not_found\"\n })\n }), _jsxs(_components.td, {\n children: [\"The file of a \", _jsx(_components.code, {\n children: \"file\"\n }), \" resource does not exist in the workspace.\"]\n }), _jsx(_components.td, {\n children: \"Check the ID and the organization or workspace it belongs to; do not retry the same request.\"\n })]\n }), _jsxs(_components.tr, {\n children: [_jsx(_components.td, {\n children: \"404\"\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"not_found_error\"\n })\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"machine_not_found\"\n })\n }), _jsxs(_components.td, {\n children: [\"The machine of an \", _jsx(_components.code, {\n children: \"mch_\"\n }), \" environment or of \", _jsx(_components.code, {\n children: \"bma_placement\"\n }), \" does not exist or may not be used by this agent.\"]\n }), _jsx(_components.td, {\n children: \"Check the ID and the organization or workspace it belongs to; do not retry the same request.\"\n })]\n }), _jsxs(_components.tr, {\n children: [_jsx(_components.td, {\n children: \"404\"\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"not_found_error\"\n })\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"memory_store_not_found\"\n })\n }), _jsxs(_components.td, {\n children: [\"The memory store of a \", _jsx(_components.code, {\n children: \"memory_store\"\n }), \" resource does not exist in the workspace.\"]\n }), _jsx(_components.td, {\n children: \"Check the ID and the organization or workspace it belongs to; do not retry the same request.\"\n })]\n }), _jsxs(_components.tr, {\n children: [_jsx(_components.td, {\n children: \"404\"\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"not_found_error\"\n })\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"skill_not_found\"\n })\n }), _jsx(_components.td, {\n children: \"A skill of the session does not exist or is not visible to the workspace.\"\n }), _jsx(_components.td, {\n children: \"Check the ID and the organization or workspace it belongs to; do not retry the same request.\"\n })]\n }), _jsxs(_components.tr, {\n children: [_jsx(_components.td, {\n children: \"404\"\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"not_found_error\"\n })\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"skill_version_not_found\"\n })\n }), _jsx(_components.td, {\n children: \"A skill version named by the session does not exist.\"\n }), _jsx(_components.td, {\n children: \"Check the ID and the organization or workspace it belongs to; do not retry the same request.\"\n })]\n }), _jsxs(_components.tr, {\n children: [_jsx(_components.td, {\n children: \"404\"\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"not_found_error\"\n })\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"vault_not_found\"\n })\n }), _jsxs(_components.td, {\n children: [\"A vault of \", _jsx(_components.code, {\n children: \"vault_ids\"\n }), \" does not exist in the workspace.\"]\n }), _jsx(_components.td, {\n children: \"Check the ID and the organization or workspace it belongs to; do not retry the same request.\"\n })]\n }), _jsxs(_components.tr, {\n children: [_jsx(_components.td, {\n children: \"409\"\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"conflict_error\"\n })\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"idempotency_key_in_use\"\n })\n }), _jsxs(_components.td, {\n children: [\"A request with the same \", _jsx(_components.code, {\n children: \"Idempotency-Key\"\n }), \" is still being processed.\"]\n }), _jsx(_components.td, {\n children: \"Retry after a short delay; the first request’s answer is replayed once it completes.\"\n })]\n }), _jsxs(_components.tr, {\n children: [_jsx(_components.td, {\n children: \"409\"\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"conflict_error\"\n })\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"memory_store_archived\"\n })\n }), _jsxs(_components.td, {\n children: [\"The memory store of a \", _jsx(_components.code, {\n children: \"memory_store\"\n }), \" resource is archived.\"]\n }), _jsx(_components.td, {\n children: \"Re-read the resource, resolve the conflicting state, then send the request again.\"\n })]\n }), _jsxs(_components.tr, {\n children: [_jsx(_components.td, {\n children: \"413\"\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"request_too_large\"\n })\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"request_too_large\"\n })\n }), _jsx(_components.td, {\n children: \"The body is larger than 1 MiB.\"\n }), _jsx(_components.td, {\n children: \"Reduce the size of the request body or upload in smaller parts.\"\n })]\n })]\n })]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"openapi":"/api-reference/bma.openapi.yaml post /v1/sessions","description":"Creates an idle session that runs a version of an agent in an environment and returns it. The agent's definition is snapshotted into the session: the named version (the latest when none is named), its skills with every version resolved, and the `model` and `system` of `agent_with_overrides`; later changes to the agent or its skills never reach the session. File resources are checked and mounted, memory stores attached with a snapshot of their name and description, and vaults checked usable. No turn starts: send a `user.message` to the session's events. Members BMA does not support for sessions (`budget`, `initial_events`, `github_repository` resources, per-session `tools` or `mcp_servers` other than an empty list) are refused with 400, never ignored. Send an `Idempotency-Key` to make retries safe: the session and its completed idempotency record commit in one transaction with claim fencing, so the same key with the same body replays the first answer (including its `ETag`) for 24 hours without creating a duplicate, and with another body it is refused. Without a key, an official SDK retry (`X-Stainless-Retry-Count` of 1 or more) of the same body within 10 minutes is merged with the first request. The response carries a strong `ETag` header for conditional updates with `If-Match`.\n\n**Authorization:** Organization API key (`x-api-key: bma_org_v1_…`), personal access token (`Authorization: Bearer bma_pat_v1_…`), OAuth access token or signed-in dashboard session; a user credential names its organization with `bma-organization-id`. The request acts in one workspace: the one named by `bma-workspace-id` (or `anthropic-workspace-id`; when both are sent they must agree), else the credential's default workspace (an API key's own workspace, else its organization's Default workspace), else the only workspace the credential can use. The caller's workspace role must be `admin`, `developer` or `operator` (`viewer` is refused); organization owners and admins act as workspace admins in every workspace of their organization.\n\n**Limits:**\n\n- Request body: at most 1 MiB (1,048,576 bytes).\n- `Idempotency-Key`: 1 to 255 visible ASCII characters; a completed key replays its answer for 24 hours; a key whose request is still running blocks the key for at most 10 minutes.\n- `vault_ids`: at most 50 distinct vaults.\n- `resources`: at most 100 entries; memory store `instructions` at most 4,096 characters.\n- Skills of the session (the agent's or the override's): at most 500.\n- `bma_executor_config`: `cwd` at most 4,096 bytes, `thinking_level` at most 64, `model` at most 200.\n- Rate limit: one request of the organization's write budget ([Rate limits](https://docs.beeos.ai/guides/limits)).\n\n**Errors** (besides the [common errors](https://docs.beeos.ai/api-reference/errors) (401 authentication, 429 `rate_limited`, 500)):\n\n| Status | `error.type` | `error.code` | Cause | Fix |\n| --- | --- | --- | --- | --- |\n| 400 | `invalid_request_error` | `environment_archived` | The environment is archived and takes no new sessions. | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 400 | `invalid_request_error` | `harness_unavailable` | The session's brain (`bma_harness`) cannot run in this deployment or where the environment places it. | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 400 | `invalid_request_error` | `idempotency_key_reused` | The `Idempotency-Key` was used in the last 24 hours with a different request. | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 400 | `invalid_request_error` | `invalid_field` | A member has the wrong type or form: `agent` missing or not an ID or agent object, `agent.version` below 1, `title` or `metadata` not strings, a malformed `resources` entry or `mount_path`, a memory store attached twice, two resources on one mount path, a repeated or empty vault ID, a skill without `skill_id` or listed with two versions, or an invalid `bma_placement` or `bma_executor_config`. | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 400 | `invalid_request_error` | `invalid_idempotency_key` | `Idempotency-Key` is not 1 to 255 visible ASCII characters. | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 400 | `invalid_request_error` | `invalid_json` | The body cannot be read or is not a JSON object. | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 400 | `invalid_request_error` | `invalid_metadata` | The metadata has more than 16 pairs, a key that is empty or longer than 64 characters, or a value longer than 512 characters. | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 400 | `invalid_request_error` | `invalid_model_override` | `bma_model_override` (or the deprecated credential members of `agent.model`) is malformed. | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 400 | `invalid_request_error` | `invalid_model_override_url` | The model override's base URL is not an HTTPS origin. | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 400 | `invalid_request_error` | `mcp_server_host_not_allowed` | The environment's limited networking does not allow the host of one of the agent's MCP servers. | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 400 | `invalid_request_error` | `model_limits_unknown` | The override's model has no known context window and output limit. | Choose a model whose limits are known, or declare its limits, and send the request again. |\n| 400 | `invalid_request_error` | `model_not_available` | The brain on the session's machine does not offer the model of `bma_executor_config`. | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 400 | `invalid_request_error` | `model_override_key_rejected` | The model override's API key is too short or too long. | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 400 | `invalid_request_error` | `model_protocol_mismatch` | The model override's API format does not fit its endpoint. | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 400 | `invalid_request_error` | `organization_required` | A user credential (personal access token, OAuth token, dashboard session) names no organization. | Name the organization with the `bma-organization-id` header. |\n| 400 | `invalid_request_error` | `placement_unsatisfiable` | `bma_placement` names a machine outside the environment's candidates, or no candidate hosts the brain. | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 400 | `invalid_request_error` | `project_required` | The credential can use several workspaces and the request names none. | Name the workspace with the `bma-workspace-id` header. |\n| 400 | `invalid_request_error` | `too_many_skills` | The session would have more than 500 skills. | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 400 | `invalid_request_error` | `unsupported` | A skill has `type` `anthropic`; only `custom` skills are hosted. | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 400 | `invalid_request_error` | `unsupported_session_option` | The body sets a member BMA does not support for sessions (`budget`, `initial_events`, any unknown member), a resource type other than `file` and `memory_store`, or a feature the deployment does not serve (vaults, resources, `bma_model_override`, `bma_placement`). | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 400 | `invalid_request_error` | `unsupported_session_override` | `agent_with_overrides` sets `tools` or `mcp_servers` to a non-empty list, or combines `bma_model_override` with the deprecated credential members of `agent.model`. | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 400 | `invalid_request_error` | `workspace_id_conflict` | `bma-workspace-id` and `anthropic-workspace-id` name different workspaces. | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 403 | `permission_error` | `permission_denied` | The caller's workspace role is `viewer`, which may read sessions but not change them. | Use a credential with the required role or access; retrying with the same credential will not help. |\n| 403 | `permission_error` | `remote_brain_not_allowed` | The brain would run on another machine and no hands machine's owner allows a remote brain. | Use a credential with the required role or access; retrying with the same credential will not help. |\n| 404 | `not_found_error` | `agent_not_found` | No agent with this ID exists in the workspace. | Check the ID and the organization or workspace it belongs to; do not retry the same request. |\n| 404 | `not_found_error` | `agent_version_not_found` | The agent has no such version. | Check the ID and the organization or workspace it belongs to; do not retry the same request. |\n| 404 | `not_found_error` | `environment_not_found` | `environment_id` names no environment of the workspace. | Check the ID and the organization or workspace it belongs to; do not retry the same request. |\n| 404 | `not_found_error` | `file_not_found` | The file of a `file` resource does not exist in the workspace. | Check the ID and the organization or workspace it belongs to; do not retry the same request. |\n| 404 | `not_found_error` | `machine_not_found` | The machine of an `mch_` environment or of `bma_placement` does not exist or may not be used by this agent. | Check the ID and the organization or workspace it belongs to; do not retry the same request. |\n| 404 | `not_found_error` | `memory_store_not_found` | The memory store of a `memory_store` resource does not exist in the workspace. | Check the ID and the organization or workspace it belongs to; do not retry the same request. |\n| 404 | `not_found_error` | `skill_not_found` | A skill of the session does not exist or is not visible to the workspace. | Check the ID and the organization or workspace it belongs to; do not retry the same request. |\n| 404 | `not_found_error` | `skill_version_not_found` | A skill version named by the session does not exist. | Check the ID and the organization or workspace it belongs to; do not retry the same request. |\n| 404 | `not_found_error` | `vault_not_found` | A vault of `vault_ids` does not exist in the workspace. | Check the ID and the organization or workspace it belongs to; do not retry the same request. |\n| 409 | `conflict_error` | `idempotency_key_in_use` | A request with the same `Idempotency-Key` is still being processed. | Retry after a short delay; the first request's answer is replayed once it completes. |\n| 409 | `conflict_error` | `memory_store_archived` | The memory store of a `memory_store` resource is archived. | Re-read the resource, resolve the conflicting state, then send the request again. |\n| 413 | `request_too_large` | `request_too_large` | The body is larger than 1 MiB. | Reduce the size of the request body or upload in smaller parts. |","href":"/api-reference/endpoints/sessions/create-session","title":"Create Session"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"sessions.create","tags":["Sessions"],"summary":"Create Session","x-bma-extension":false,"requestBody":"9def22e6-298b-4a94-9c83-c03d09507bc0","responses":{"200":"e8397eec-33e5-40f3-9fb2-4ebac63110d6","4XX":"57447ae4-6830-4654-88c8-a7a69fecf1f1","5XX":"58fd8f5e-48fc-44ba-9b90-4051690a73db"},"description":"Creates an idle session that runs a version of an agent in an environment and returns it. The agent's definition is snapshotted into the session: the named version (the latest when none is named), its skills with every version resolved, and the `model` and `system` of `agent_with_overrides`; later changes to the agent or its skills never reach the session. File resources are checked and mounted, memory stores attached with a snapshot of their name and description, and vaults checked usable. No turn starts: send a `user.message` to the session's events. Members BMA does not support for sessions (`budget`, `initial_events`, `github_repository` resources, per-session `tools` or `mcp_servers` other than an empty list) are refused with 400, never ignored. Send an `Idempotency-Key` to make retries safe: the session and its completed idempotency record commit in one transaction with claim fencing, so the same key with the same body replays the first answer (including its `ETag`) for 24 hours without creating a duplicate, and with another body it is refused. Without a key, an official SDK retry (`X-Stainless-Retry-Count` of 1 or more) of the same body within 10 minutes is merged with the first request. The response carries a strong `ETag` header for conditional updates with `If-Match`.\n\n**Authorization:** Organization API key (`x-api-key: bma_org_v1_…`), personal access token (`Authorization: Bearer bma_pat_v1_…`), OAuth access token or signed-in dashboard session; a user credential names its organization with `bma-organization-id`. The request acts in one workspace: the one named by `bma-workspace-id` (or `anthropic-workspace-id`; when both are sent they must agree), else the credential's default workspace (an API key's own workspace, else its organization's Default workspace), else the only workspace the credential can use. The caller's workspace role must be `admin`, `developer` or `operator` (`viewer` is refused); organization owners and admins act as workspace admins in every workspace of their organization.\n\n**Limits:**\n\n- Request body: at most 1 MiB (1,048,576 bytes).\n- `Idempotency-Key`: 1 to 255 visible ASCII characters; a completed key replays its answer for 24 hours; a key whose request is still running blocks the key for at most 10 minutes.\n- `vault_ids`: at most 50 distinct vaults.\n- `resources`: at most 100 entries; memory store `instructions` at most 4,096 characters.\n- Skills of the session (the agent's or the override's): at most 500.\n- `bma_executor_config`: `cwd` at most 4,096 bytes, `thinking_level` at most 64, `model` at most 200.\n- Rate limit: one request of the organization's write budget ([Rate limits](https://docs.beeos.ai/guides/limits)).\n\n**Errors** (besides the [common errors](https://docs.beeos.ai/api-reference/errors) (401 authentication, 429 `rate_limited`, 500)):\n\n| Status | `error.type` | `error.code` | Cause | Fix |\n| --- | --- | --- | --- | --- |\n| 400 | `invalid_request_error` | `environment_archived` | The environment is archived and takes no new sessions. | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 400 | `invalid_request_error` | `harness_unavailable` | The session's brain (`bma_harness`) cannot run in this deployment or where the environment places it. | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 400 | `invalid_request_error` | `idempotency_key_reused` | The `Idempotency-Key` was used in the last 24 hours with a different request. | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 400 | `invalid_request_error` | `invalid_field` | A member has the wrong type or form: `agent` missing or not an ID or agent object, `agent.version` below 1, `title` or `metadata` not strings, a malformed `resources` entry or `mount_path`, a memory store attached twice, two resources on one mount path, a repeated or empty vault ID, a skill without `skill_id` or listed with two versions, or an invalid `bma_placement` or `bma_executor_config`. | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 400 | `invalid_request_error` | `invalid_idempotency_key` | `Idempotency-Key` is not 1 to 255 visible ASCII characters. | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 400 | `invalid_request_error` | `invalid_json` | The body cannot be read or is not a JSON object. | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 400 | `invalid_request_error` | `invalid_metadata` | The metadata has more than 16 pairs, a key that is empty or longer than 64 characters, or a value longer than 512 characters. | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 400 | `invalid_request_error` | `invalid_model_override` | `bma_model_override` (or the deprecated credential members of `agent.model`) is malformed. | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 400 | `invalid_request_error` | `invalid_model_override_url` | The model override's base URL is not an HTTPS origin. | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 400 | `invalid_request_error` | `mcp_server_host_not_allowed` | The environment's limited networking does not allow the host of one of the agent's MCP servers. | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 400 | `invalid_request_error` | `model_limits_unknown` | The override's model has no known context window and output limit. | Choose a model whose limits are known, or declare its limits, and send the request again. |\n| 400 | `invalid_request_error` | `model_not_available` | The brain on the session's machine does not offer the model of `bma_executor_config`. | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 400 | `invalid_request_error` | `model_override_key_rejected` | The model override's API key is too short or too long. | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 400 | `invalid_request_error` | `model_protocol_mismatch` | The model override's API format does not fit its endpoint. | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 400 | `invalid_request_error` | `organization_required` | A user credential (personal access token, OAuth token, dashboard session) names no organization. | Name the organization with the `bma-organization-id` header. |\n| 400 | `invalid_request_error` | `placement_unsatisfiable` | `bma_placement` names a machine outside the environment's candidates, or no candidate hosts the brain. | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 400 | `invalid_request_error` | `project_required` | The credential can use several workspaces and the request names none. | Name the workspace with the `bma-workspace-id` header. |\n| 400 | `invalid_request_error` | `too_many_skills` | The session would have more than 500 skills. | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 400 | `invalid_request_error` | `unsupported` | A skill has `type` `anthropic`; only `custom` skills are hosted. | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 400 | `invalid_request_error` | `unsupported_session_option` | The body sets a member BMA does not support for sessions (`budget`, `initial_events`, any unknown member), a resource type other than `file` and `memory_store`, or a feature the deployment does not serve (vaults, resources, `bma_model_override`, `bma_placement`). | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 400 | `invalid_request_error` | `unsupported_session_override` | `agent_with_overrides` sets `tools` or `mcp_servers` to a non-empty list, or combines `bma_model_override` with the deprecated credential members of `agent.model`. | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 400 | `invalid_request_error` | `workspace_id_conflict` | `bma-workspace-id` and `anthropic-workspace-id` name different workspaces. | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 403 | `permission_error` | `permission_denied` | The caller's workspace role is `viewer`, which may read sessions but not change them. | Use a credential with the required role or access; retrying with the same credential will not help. |\n| 403 | `permission_error` | `remote_brain_not_allowed` | The brain would run on another machine and no hands machine's owner allows a remote brain. | Use a credential with the required role or access; retrying with the same credential will not help. |\n| 404 | `not_found_error` | `agent_not_found` | No agent with this ID exists in the workspace. | Check the ID and the organization or workspace it belongs to; do not retry the same request. |\n| 404 | `not_found_error` | `agent_version_not_found` | The agent has no such version. | Check the ID and the organization or workspace it belongs to; do not retry the same request. |\n| 404 | `not_found_error` | `environment_not_found` | `environment_id` names no environment of the workspace. | Check the ID and the organization or workspace it belongs to; do not retry the same request. |\n| 404 | `not_found_error` | `file_not_found` | The file of a `file` resource does not exist in the workspace. | Check the ID and the organization or workspace it belongs to; do not retry the same request. |\n| 404 | `not_found_error` | `machine_not_found` | The machine of an `mch_` environment or of `bma_placement` does not exist or may not be used by this agent. | Check the ID and the organization or workspace it belongs to; do not retry the same request. |\n| 404 | `not_found_error` | `memory_store_not_found` | The memory store of a `memory_store` resource does not exist in the workspace. | Check the ID and the organization or workspace it belongs to; do not retry the same request. |\n| 404 | `not_found_error` | `skill_not_found` | A skill of the session does not exist or is not visible to the workspace. | Check the ID and the organization or workspace it belongs to; do not retry the same request. |\n| 404 | `not_found_error` | `skill_version_not_found` | A skill version named by the session does not exist. | Check the ID and the organization or workspace it belongs to; do not retry the same request. |\n| 404 | `not_found_error` | `vault_not_found` | A vault of `vault_ids` does not exist in the workspace. | Check the ID and the organization or workspace it belongs to; do not retry the same request. |\n| 409 | `conflict_error` | `idempotency_key_in_use` | A request with the same `Idempotency-Key` is still being processed. | Retry after a short delay; the first request's answer is replayed once it completes. |\n| 409 | `conflict_error` | `memory_store_archived` | The memory store of a `memory_store` resource is archived. | Re-read the resource, resolve the conflicting state, then send the request again. |\n| 413 | `request_too_large` | `request_too_large` | The body is larger than 1 MiB. | Reduce the size of the request body or upload in smaller parts. |","x-bma-auth":"Organization API key (`x-api-key: bma_org_v1_…`), personal access token (`Authorization: Bearer bma_pat_v1_…`), OAuth access token or signed-in dashboard session; a user credential names its organization with `bma-organization-id`. The request acts in one workspace: the one named by `bma-workspace-id` (or `anthropic-workspace-id`; when both are sent they must agree), else the credential's default workspace (an API key's own workspace, else its organization's Default workspace), else the only workspace the credential can use. The caller's workspace role must be `admin`, `developer` or `operator` (`viewer` is refused); organization owners and admins act as workspace admins in every workspace of their organization.","x-bma-limits":["Request body: at most 1 MiB (1,048,576 bytes).","`Idempotency-Key`: 1 to 255 visible ASCII characters; a completed key replays its answer for 24 hours; a key whose request is still running blocks the key for at most 10 minutes.","`vault_ids`: at most 50 distinct vaults.","`resources`: at most 100 entries; memory store `instructions` at most 4,096 characters.","Skills of the session (the agent's or the override's): at most 500.","`bma_executor_config`: `cwd` at most 4,096 bytes, `thinking_level` at most 64, `model` at most 200."],"x-bma-errors":[{"code":"invalid_json","when":"The body cannot be read or is not a JSON object."},{"code":"request_too_large","when":"The body is larger than 1 MiB."},{"code":"invalid_idempotency_key","when":"`Idempotency-Key` is not 1 to 255 visible ASCII characters."},{"code":"idempotency_key_reused","when":"The `Idempotency-Key` was used in the last 24 hours with a different request."},{"code":"idempotency_key_in_use","when":"A request with the same `Idempotency-Key` is still being processed.","fix":"Retry after a short delay; the first request's answer is replayed once it completes."},{"code":"invalid_metadata","when":"The metadata has more than 16 pairs, a key that is empty or longer than 64 characters, or a value longer than 512 characters."},{"code":"invalid_field","when":"A member has the wrong type or form: `agent` missing or not an ID or agent object, `agent.version` below 1, `title` or `metadata` not strings, a malformed `resources` entry or `mount_path`, a memory store attached twice, two resources on one mount path, a repeated or empty vault ID, a skill without `skill_id` or listed with two versions, or an invalid `bma_placement` or `bma_executor_config`."},{"code":"unsupported_session_option","when":"The body sets a member BMA does not support for sessions (`budget`, `initial_events`, any unknown member), a resource type other than `file` and `memory_store`, or a feature the deployment does not serve (vaults, resources, `bma_model_override`, `bma_placement`)."},{"code":"unsupported_session_override","when":"`agent_with_overrides` sets `tools` or `mcp_servers` to a non-empty list, or combines `bma_model_override` with the deprecated credential members of `agent.model`."},{"code":"unsupported","when":"A skill has `type` `anthropic`; only `custom` skills are hosted."},{"code":"too_many_skills","when":"The session would have more than 500 skills."},{"code":"harness_unavailable","when":"The session's brain (`bma_harness`) cannot run in this deployment or where the environment places it."},{"code":"placement_unsatisfiable","when":"`bma_placement` names a machine outside the environment's candidates, or no candidate hosts the brain."},{"code":"model_not_available","when":"The brain on the session's machine does not offer the model of `bma_executor_config`."},{"code":"remote_brain_not_allowed","when":"The brain would run on another machine and no hands machine's owner allows a remote brain."},{"code":"mcp_server_host_not_allowed","when":"The environment's limited networking does not allow the host of one of the agent's MCP servers."},{"code":"environment_archived","when":"The environment is archived and takes no new sessions."},{"code":"invalid_model_override","when":"`bma_model_override` (or the deprecated credential members of `agent.model`) is malformed."},{"code":"invalid_model_override_url","when":"The model override's base URL is not an HTTPS origin."},{"code":"model_override_key_rejected","when":"The model override's API key is too short or too long."},{"code":"model_protocol_mismatch","when":"The model override's API format does not fit its endpoint."},{"code":"model_limits_unknown","when":"The override's model has no known context window and output limit."},{"code":"permission_denied","when":"The caller's workspace role is `viewer`, which may read sessions but not change them."},{"code":"agent_not_found","when":"No agent with this ID exists in the workspace."},{"code":"agent_version_not_found","when":"The agent has no such version."},{"code":"skill_not_found","when":"A skill of the session does not exist or is not visible to the workspace."},{"code":"skill_version_not_found","when":"A skill version named by the session does not exist."},{"code":"environment_not_found","when":"`environment_id` names no environment of the workspace."},{"code":"machine_not_found","when":"The machine of an `mch_` environment or of `bma_placement` does not exist or may not be used by this agent."},{"code":"vault_not_found","when":"A vault of `vault_ids` does not exist in the workspace."},{"code":"file_not_found","when":"The file of a `file` resource does not exist in the workspace."},{"code":"memory_store_not_found","when":"The memory store of a `memory_store` resource does not exist in the workspace."},{"code":"memory_store_archived","when":"The memory store of a `memory_store` resource is archived."},{"code":"workspace_id_conflict","when":"`bma-workspace-id` and `anthropic-workspace-id` name different workspaces."},{"code":"project_required","when":"The credential can use several workspaces and the request names none.","fix":"Name the workspace with the `bma-workspace-id` header."},{"code":"organization_required","when":"A user credential (personal access token, OAuth token, dashboard session) names no organization.","fix":"Name the organization with the `bma-organization-id` header."}],"x-codeSamples":[{"lang":"bash","label":"curl","source":"curl -sS -X POST \"$BMA_BASE_URL/v1/sessions\" \\\n -H \"x-api-key: $BMA_API_KEY\" \\\n -H \"bma-workspace-id: $BMA_PROJECT_ID\" \\\n -H \"content-type: application/json\" \\\n -d '{\n \"agent\": {\n \"type\": \"agent\",\n \"id\": \"aprf_agray4o575yzni6unfhge6obhm\",\n \"version\": 3\n },\n \"environment_id\": \"env_agray4o575yzvcl662kzmeilr4\",\n \"title\": \"Q3 revenue report\",\n \"metadata\": {\n \"ticket\": \"OPS-1423\"\n },\n \"resources\": [\n {\n \"type\": \"file\",\n \"file_id\": \"file_agray4o575y2dgcykoagz7tdfy\",\n \"mount_path\": \"/data/q3.csv\"\n }\n ],\n \"vault_ids\": [\n \"vlt_agray4o575yz5pfpymedzfznb4\"\n ]\n}'"},{"lang":"python","label":"Python","source":"from bma_sdk import Bma\n\nclient = Bma() # BMA_API_KEY, BMA_BASE_URL, BMA_PROJECT_ID\n\nresult = client.beta.sessions.create(\n agent={\n \"type\": \"agent\",\n \"id\": \"aprf_agray4o575yzni6unfhge6obhm\",\n \"version\": 3,\n },\n environment_id=\"env_agray4o575yzvcl662kzmeilr4\",\n title=\"Q3 revenue report\",\n metadata={\n \"ticket\": \"OPS-1423\",\n },\n resources=[\n {\n \"type\": \"file\",\n \"file_id\": \"file_agray4o575y2dgcykoagz7tdfy\",\n \"mount_path\": \"/data/q3.csv\",\n },\n ],\n vault_ids=[\n \"vlt_agray4o575yz5pfpymedzfznb4\",\n ],\n)\nprint(result)\n"},{"lang":"typescript","label":"TypeScript","source":"import { BmaClient } from \"@beeos-ai/bma-sdk\";\n\nconst client = new BmaClient(); // BMA_API_KEY, BMA_BASE_URL, BMA_PROJECT_ID\n\nconst result = await client.beta.sessions.create({\n agent: {\n type: \"agent\",\n id: \"aprf_agray4o575yzni6unfhge6obhm\",\n version: 3,\n },\n environment_id: \"env_agray4o575yzvcl662kzmeilr4\",\n title: \"Q3 revenue report\",\n metadata: {\n ticket: \"OPS-1423\",\n },\n resources: [\n {\n type: \"file\",\n file_id: \"file_agray4o575y2dgcykoagz7tdfy\",\n mount_path: \"/data/q3.csv\",\n },\n ],\n vault_ids: [\n \"vlt_agray4o575yz5pfpymedzfznb4\",\n ],\n});\nconsole.log(result);\n"},{"lang":"go","label":"Go","source":"import (\n\t\"context\"\n\t\"fmt\"\n\t\"log\"\n\t\"net/http\"\n\n\tbmasdk \"github.com/beeos-ai/bma-sdk/v4\"\n)\n\nclient := bmasdk.NewClient() // BMA_API_KEY, BMA_BASE_URL, BMA_PROJECT_ID\nvar res map[string]any\nerr := client.Execute(context.TODO(), http.MethodPost, \"v1/sessions\",\n\tmap[string]any{\n\t\t\"agent\": map[string]any{\n\t\t\t\"type\": \"agent\",\n\t\t\t\"id\": \"aprf_agray4o575yzni6unfhge6obhm\",\n\t\t\t\"version\": 3,\n\t\t},\n\t\t\"environment_id\": \"env_agray4o575yzvcl662kzmeilr4\",\n\t\t\"title\": \"Q3 revenue report\",\n\t\t\"metadata\": map[string]any{\n\t\t\t\"ticket\": \"OPS-1423\",\n\t\t},\n\t\t\"resources\": []any{\n\t\t\tmap[string]any{\n\t\t\t\t\"type\": \"file\",\n\t\t\t\t\"file_id\": \"file_agray4o575y2dgcykoagz7tdfy\",\n\t\t\t\t\"mount_path\": \"/data/q3.csv\",\n\t\t\t},\n\t\t},\n\t\t\"vault_ids\": []any{\n\t\t\t\"vlt_agray4o575yz5pfpymedzfznb4\",\n\t\t},\n\t}, \u0026res)\nif err != nil {\n\tlog.Fatal(err)\n}\nfmt.Println(res)\n"},{"lang":"bash","label":"CLI","source":"bma sessions create --agent '{\"type\":\"agent\",\"id\":\"aprf_agray4o575yzni6unfhge6obhm\",\"version\":3}' --environment-id env_agray4o575yzvcl662kzmeilr4 --title 'Q3 revenue report' --metadata '{\"ticket\":\"OPS-1423\"}' --resources '[{\"type\":\"file\",\"file_id\":\"file_agray4o575y2dgcykoagz7tdfy\",\"mount_path\":\"/data/q3.csv\"}]' --vault-ids '[\"vlt_agray4o575yz5pfpymedzfznb4\"]'"}],"method":"post","type":"path","servers":["aab6fce6-43f5-423b-92da-bb742711199d","f34f48fd-3007-467d-9d05-2d18bb2f0252"],"security":["a7a05916-0e8d-41df-b94e-ca8691ee2568","6e714eac-c5f9-497c-947a-aeaa7d4f124d"],"path":"/v1/sessions","baseUrlOptions":["https://api.beeos.ai","http://127.0.0.1:58080"],"title":"Create Session","codeSamples":[{"label":"curl","lang":"bash","source":"curl -sS -X POST \"$BMA_BASE_URL/v1/sessions\" \\\n -H \"x-api-key: $BMA_API_KEY\" \\\n -H \"bma-workspace-id: $BMA_PROJECT_ID\" \\\n -H \"content-type: application/json\" \\\n -d '{\n \"agent\": {\n \"type\": \"agent\",\n \"id\": \"aprf_agray4o575yzni6unfhge6obhm\",\n \"version\": 3\n },\n \"environment_id\": \"env_agray4o575yzvcl662kzmeilr4\",\n \"title\": \"Q3 revenue report\",\n \"metadata\": {\n \"ticket\": \"OPS-1423\"\n },\n \"resources\": [\n {\n \"type\": \"file\",\n \"file_id\": \"file_agray4o575y2dgcykoagz7tdfy\",\n \"mount_path\": \"/data/q3.csv\"\n }\n ],\n \"vault_ids\": [\n \"vlt_agray4o575yz5pfpymedzfznb4\"\n ]\n}'"},{"label":"Python","lang":"python","source":"from bma_sdk import Bma\n\nclient = Bma() # BMA_API_KEY, BMA_BASE_URL, BMA_PROJECT_ID\n\nresult = client.beta.sessions.create(\n agent={\n \"type\": \"agent\",\n \"id\": \"aprf_agray4o575yzni6unfhge6obhm\",\n \"version\": 3,\n },\n environment_id=\"env_agray4o575yzvcl662kzmeilr4\",\n title=\"Q3 revenue report\",\n metadata={\n \"ticket\": \"OPS-1423\",\n },\n resources=[\n {\n \"type\": \"file\",\n \"file_id\": \"file_agray4o575y2dgcykoagz7tdfy\",\n \"mount_path\": \"/data/q3.csv\",\n },\n ],\n vault_ids=[\n \"vlt_agray4o575yz5pfpymedzfznb4\",\n ],\n)\nprint(result)\n"},{"label":"TypeScript","lang":"typescript","source":"import { BmaClient } from \"@beeos-ai/bma-sdk\";\n\nconst client = new BmaClient(); // BMA_API_KEY, BMA_BASE_URL, BMA_PROJECT_ID\n\nconst result = await client.beta.sessions.create({\n agent: {\n type: \"agent\",\n id: \"aprf_agray4o575yzni6unfhge6obhm\",\n version: 3,\n },\n environment_id: \"env_agray4o575yzvcl662kzmeilr4\",\n title: \"Q3 revenue report\",\n metadata: {\n ticket: \"OPS-1423\",\n },\n resources: [\n {\n type: \"file\",\n file_id: \"file_agray4o575y2dgcykoagz7tdfy\",\n mount_path: \"/data/q3.csv\",\n },\n ],\n vault_ids: [\n \"vlt_agray4o575yz5pfpymedzfznb4\",\n ],\n});\nconsole.log(result);\n"},{"label":"Go","lang":"go","source":"import (\n\t\"context\"\n\t\"fmt\"\n\t\"log\"\n\t\"net/http\"\n\n\tbmasdk \"github.com/beeos-ai/bma-sdk/v4\"\n)\n\nclient := bmasdk.NewClient() // BMA_API_KEY, BMA_BASE_URL, BMA_PROJECT_ID\nvar res map[string]any\nerr := client.Execute(context.TODO(), http.MethodPost, \"v1/sessions\",\n\tmap[string]any{\n\t\t\"agent\": map[string]any{\n\t\t\t\"type\": \"agent\",\n\t\t\t\"id\": \"aprf_agray4o575yzni6unfhge6obhm\",\n\t\t\t\"version\": 3,\n\t\t},\n\t\t\"environment_id\": \"env_agray4o575yzvcl662kzmeilr4\",\n\t\t\"title\": \"Q3 revenue report\",\n\t\t\"metadata\": map[string]any{\n\t\t\t\"ticket\": \"OPS-1423\",\n\t\t},\n\t\t\"resources\": []any{\n\t\t\tmap[string]any{\n\t\t\t\t\"type\": \"file\",\n\t\t\t\t\"file_id\": \"file_agray4o575y2dgcykoagz7tdfy\",\n\t\t\t\t\"mount_path\": \"/data/q3.csv\",\n\t\t\t},\n\t\t},\n\t\t\"vault_ids\": []any{\n\t\t\t\"vlt_agray4o575yz5pfpymedzfznb4\",\n\t\t},\n\t}, \u0026res)\nif err != nil {\n\tlog.Fatal(err)\n}\nfmt.Println(res)\n"},{"label":"CLI","lang":"bash","source":"bma sessions create --agent '{\"type\":\"agent\",\"id\":\"aprf_agray4o575yzni6unfhge6obhm\",\"version\":3}' --environment-id env_agray4o575yzvcl662kzmeilr4 --title 'Q3 revenue report' --metadata '{\"ticket\":\"OPS-1423\"}' --resources '[{\"type\":\"file\",\"file_id\":\"file_agray4o575y2dgcykoagz7tdfy\",\"mount_path\":\"/data/q3.csv\"}]' --vault-ids '[\"vlt_agray4o575yz5pfpymedzfznb4\"]'"}],"requestExampleLanguages":["bash","python","javascript","go"],"requiredOnlyExamples":false,"requestExampleType":"codeSamples","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"agent":{"oneOf":[{"type":"string","description":"The agent the session runs: its `aprf_` ID (its latest version), `{\"type\": \"agent\", \"id\", \"version\"}` to pin a version, or `{\"type\": \"agent_with_overrides\", ...}`, whose `model`, `system` and `skills` replace the agent's for this session only. Its `tools` and `mcp_servers` may only be `[]` (clear the list for this session); any other list is refused.","isRequired":true,"uniqueKey":"agent.oneOf.0","typeLabel":"string"},{"type":"object","description":"The agent the session runs: its `aprf_` ID (its latest version), `{\"type\": \"agent\", \"id\", \"version\"}` to pin a version, or `{\"type\": \"agent_with_overrides\", ...}`, whose `model`, `system` and `skills` replace the agent's for this session only. Its `tools` and `mcp_servers` may only be `[]` (clear the list for this session); any other list is refused.","required":["id","type"],"properties":{"id":{"type":"string","description":"The `agent` ID.","isRequired":true,"uniqueKey":"agent.oneOf.1.id","typeLabel":"string"},"type":{"description":"Always `agent`.","type":"string","const":"agent","isRequired":true,"uniqueKey":"agent.oneOf.1.type","typeLabel":"string"},"version":{"type":"number","description":"The specific `agent` version to use. Omit to use the latest version. Must be at least 1 if specified.","uniqueKey":"agent.oneOf.1.version","typeLabel":"number"}},"isRequired":true,"uniqueKey":"agent.oneOf.1","typeLabel":"object"},{"type":"object","description":"The agent the session runs: its `aprf_` ID (its latest version), `{\"type\": \"agent\", \"id\", \"version\"}` to pin a version, or `{\"type\": \"agent_with_overrides\", ...}`, whose `model`, `system` and `skills` replace the agent's for this session only. Its `tools` and `mcp_servers` may only be `[]` (clear the list for this session); any other list is refused.","required":["id","type"],"properties":{"id":{"type":"string","description":"The `agent` ID.","isRequired":true,"uniqueKey":"agent.oneOf.2.id","typeLabel":"string"},"type":{"type":"string","const":"agent_with_overrides","description":"Always `agent_with_overrides`.","isRequired":true,"uniqueKey":"agent.oneOf.2.type","typeLabel":"string"},"mcp_servers":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Unique name for this server, referenced by mcp_toolset configurations. 1-255 characters.","isRequired":true,"uniqueKey":"agent.oneOf.2.mcp_servers.items.[INDEX].name","typeLabel":"string"},"type":{"type":"string","const":"url","description":"Always `url`.","isRequired":true,"uniqueKey":"agent.oneOf.2.mcp_servers.items.[INDEX].type","typeLabel":"string"},"url":{"type":"string","description":"Endpoint URL for the MCP server.","isRequired":true,"uniqueKey":"agent.oneOf.2.mcp_servers.items.[INDEX].url","typeLabel":"string"}},"required":["name","type","url"],"description":"URL-based MCP server connection.","uniqueKey":"agent.oneOf.2.mcp_servers.items.[INDEX]","typeLabel":"object"},"description":"Replacement MCP server list. Full replacement: the provided array becomes the MCP servers. Send an empty array to clear; omit to preserve the agent's servers.","uniqueKey":"agent.oneOf.2.mcp_servers","typeLabel":"object[]"},"model":{"oneOf":[{"type":"string","description":"Replacement model. Accepts the model string, e.g. `claude-opus-5-5`, or a `model_config` object. Omit to use the agent's model.","uniqueKey":"agent.oneOf.2.model.oneOf.0","typeLabel":"string"},{"type":"object","description":"Replacement model. Accepts the model string, e.g. `claude-opus-5-5`, or a `model_config` object. Omit to use the agent's model.","required":["id"],"properties":{"id":{"type":"string","description":"The model that will power your agent.\n\nSee [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.","isRequired":true,"uniqueKey":"agent.oneOf.2.model.oneOf.1.id","typeLabel":"string"},"effort":{"oneOf":[{"type":"string","description":"How hard Claude works on each inference call. Accepts a bare level string (`\"high\"`) or `{\"type\": \"high\"}`. On create, omitting it resolves the per-model default; on update, omitting it leaves the stored value unchanged.","const":"low","uniqueKey":"agent.oneOf.2.model.oneOf.1.effort.oneOf.0","typeLabel":"string"},{"type":"string","description":"How hard Claude works on each inference call. Accepts a bare level string (`\"high\"`) or `{\"type\": \"high\"}`. On create, omitting it resolves the per-model default; on update, omitting it leaves the stored value unchanged.","const":"medium","uniqueKey":"agent.oneOf.2.model.oneOf.1.effort.oneOf.1","typeLabel":"string"},{"type":"string","description":"How hard Claude works on each inference call. Accepts a bare level string (`\"high\"`) or `{\"type\": \"high\"}`. On create, omitting it resolves the per-model default; on update, omitting it leaves the stored value unchanged.","const":"high","uniqueKey":"agent.oneOf.2.model.oneOf.1.effort.oneOf.2","typeLabel":"string"},{"type":"string","description":"How hard Claude works on each inference call. Accepts a bare level string (`\"high\"`) or `{\"type\": \"high\"}`. On create, omitting it resolves the per-model default; on update, omitting it leaves the stored value unchanged.","const":"xhigh","uniqueKey":"agent.oneOf.2.model.oneOf.1.effort.oneOf.3","typeLabel":"string"},{"type":"string","description":"How hard Claude works on each inference call. Accepts a bare level string (`\"high\"`) or `{\"type\": \"high\"}`. On create, omitting it resolves the per-model default; on update, omitting it leaves the stored value unchanged.","const":"max","uniqueKey":"agent.oneOf.2.model.oneOf.1.effort.oneOf.4","typeLabel":"string"},{"type":"object","description":"How hard Claude works on each inference call. Accepts a bare level string (`\"high\"`) or `{\"type\": \"high\"}`. On create, omitting it resolves the per-model default; on update, omitting it leaves the stored value unchanged.","required":["type"],"properties":{"type":{"type":"string","const":"low","description":"Always `low`.","isRequired":true,"uniqueKey":"agent.oneOf.2.model.oneOf.1.effort.oneOf.5.type","typeLabel":"string"}},"uniqueKey":"agent.oneOf.2.model.oneOf.1.effort.oneOf.5","typeLabel":"object"},{"type":"object","description":"How hard Claude works on each inference call. Accepts a bare level string (`\"high\"`) or `{\"type\": \"high\"}`. On create, omitting it resolves the per-model default; on update, omitting it leaves the stored value unchanged.","required":["type"],"properties":{"type":{"type":"string","const":"medium","description":"Always `medium`.","isRequired":true,"uniqueKey":"agent.oneOf.2.model.oneOf.1.effort.oneOf.6.type","typeLabel":"string"}},"uniqueKey":"agent.oneOf.2.model.oneOf.1.effort.oneOf.6","typeLabel":"object"},{"type":"object","description":"How hard Claude works on each inference call. Accepts a bare level string (`\"high\"`) or `{\"type\": \"high\"}`. On create, omitting it resolves the per-model default; on update, omitting it leaves the stored value unchanged.","required":["type"],"properties":{"type":{"type":"string","const":"high","description":"Always `high`.","isRequired":true,"uniqueKey":"agent.oneOf.2.model.oneOf.1.effort.oneOf.7.type","typeLabel":"string"}},"uniqueKey":"agent.oneOf.2.model.oneOf.1.effort.oneOf.7","typeLabel":"object"},{"type":"object","description":"How hard Claude works on each inference call. Accepts a bare level string (`\"high\"`) or `{\"type\": \"high\"}`. On create, omitting it resolves the per-model default; on update, omitting it leaves the stored value unchanged.","required":["type"],"properties":{"type":{"type":"string","const":"xhigh","description":"Always `xhigh`.","isRequired":true,"uniqueKey":"agent.oneOf.2.model.oneOf.1.effort.oneOf.8.type","typeLabel":"string"}},"uniqueKey":"agent.oneOf.2.model.oneOf.1.effort.oneOf.8","typeLabel":"object"},{"type":"object","description":"How hard Claude works on each inference call. Accepts a bare level string (`\"high\"`) or `{\"type\": \"high\"}`. On create, omitting it resolves the per-model default; on update, omitting it leaves the stored value unchanged.","required":["type"],"properties":{"type":{"type":"string","const":"max","description":"Always `max`.","isRequired":true,"uniqueKey":"agent.oneOf.2.model.oneOf.1.effort.oneOf.9.type","typeLabel":"string"}},"uniqueKey":"agent.oneOf.2.model.oneOf.1.effort.oneOf.9","typeLabel":"object"},{"type":"null","description":"How hard Claude works on each inference call. Accepts a bare level string (`\"high\"`) or `{\"type\": \"high\"}`. On create, omitting it resolves the per-model default; on update, omitting it leaves the stored value unchanged.","uniqueKey":"agent.oneOf.2.model.oneOf.1.effort.oneOf.10","typeLabel":"null"}],"uniqueKey":"agent.oneOf.2.model.oneOf.1.effort","typeLabel":"string · string · string · string · string · object · object · object · object · object · null"},"inference_geo":{"oneOf":[{"type":"string","description":"Geographic region for model inference. When unset, requests fall through to the workspace's default_inference_geo. On update, `model` is whole-object replacement — omitting inference_geo clears it.","uniqueKey":"agent.oneOf.2.model.oneOf.1.inference_geo.oneOf.0","typeLabel":"string"},{"type":"null","description":"Geographic region for model inference. When unset, requests fall through to the workspace's default_inference_geo. On update, `model` is whole-object replacement — omitting inference_geo clears it.","uniqueKey":"agent.oneOf.2.model.oneOf.1.inference_geo.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.oneOf.2.model.oneOf.1.inference_geo","typeLabel":"string | null"},"speed":{"oneOf":[{"type":"string","enum":["standard","fast",null],"description":"Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Defaults to `standard`. Not all models support `fast`; invalid combinations are rejected at create time.","uniqueKey":"agent.oneOf.2.model.oneOf.1.speed.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["standard","fast",null],"description":"Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Defaults to `standard`. Not all models support `fast`; invalid combinations are rejected at create time.","uniqueKey":"agent.oneOf.2.model.oneOf.1.speed.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.oneOf.2.model.oneOf.1.speed","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"agent.oneOf.2.model.oneOf.1","typeLabel":"object"}],"uniqueKey":"agent.oneOf.2.model","typeLabel":"string | object"},"skills":{"type":"array","items":{"oneOf":[{"type":"object","description":"Skill to load in the session container.","required":["skill_id","type"],"properties":{"skill_id":{"type":"string","description":"Identifier of the Anthropic skill (e.g., \"xlsx\").","isRequired":true,"uniqueKey":"agent.oneOf.2.skills.items.[INDEX].oneOf.0.skill_id","typeLabel":"string"},"type":{"type":"string","const":"anthropic","description":"Always `anthropic`.","isRequired":true,"uniqueKey":"agent.oneOf.2.skills.items.[INDEX].oneOf.0.type","typeLabel":"string"},"version":{"oneOf":[{"type":"string","description":"Version to pin. Defaults to latest if omitted.","uniqueKey":"agent.oneOf.2.skills.items.[INDEX].oneOf.0.version.oneOf.0","typeLabel":"string"},{"type":"null","description":"Version to pin. Defaults to latest if omitted.","uniqueKey":"agent.oneOf.2.skills.items.[INDEX].oneOf.0.version.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.oneOf.2.skills.items.[INDEX].oneOf.0.version","typeLabel":"string | null"}},"uniqueKey":"agent.oneOf.2.skills.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"Skill to load in the session container.","required":["skill_id","type"],"properties":{"skill_id":{"type":"string","description":"Tagged ID of the custom skill (e.g., \"skill_01XJ5...\").","isRequired":true,"uniqueKey":"agent.oneOf.2.skills.items.[INDEX].oneOf.1.skill_id","typeLabel":"string"},"type":{"type":"string","const":"custom","description":"Always `custom`.","isRequired":true,"uniqueKey":"agent.oneOf.2.skills.items.[INDEX].oneOf.1.type","typeLabel":"string"},"version":{"oneOf":[{"type":"string","description":"Version to pin. Defaults to latest if omitted.","uniqueKey":"agent.oneOf.2.skills.items.[INDEX].oneOf.1.version.oneOf.0","typeLabel":"string"},{"type":"null","description":"Version to pin. Defaults to latest if omitted.","uniqueKey":"agent.oneOf.2.skills.items.[INDEX].oneOf.1.version.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.oneOf.2.skills.items.[INDEX].oneOf.1.version","typeLabel":"string | null"}},"uniqueKey":"agent.oneOf.2.skills.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"agent.oneOf.2.skills.items.[INDEX]","typeLabel":"object"},"description":"Replacement skill list. Full replacement: the provided array becomes the skills. Send an empty array to clear; omit to preserve the agent's skills.","uniqueKey":"agent.oneOf.2.skills","typeLabel":"object[]"},"system":{"oneOf":[{"type":"string","description":"Replacement system prompt. Up to 100,000 characters. Set to null to clear the agent's system prompt; omit to preserve it.","uniqueKey":"agent.oneOf.2.system.oneOf.0","typeLabel":"string"},{"type":"null","description":"Replacement system prompt. Up to 100,000 characters. Set to null to clear the agent's system prompt; omit to preserve it.","uniqueKey":"agent.oneOf.2.system.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.oneOf.2.system","typeLabel":"string | null"},"tools":{"type":"array","items":{"oneOf":[{"type":"object","description":"Configuration for built-in agent tools. Use this to enable or disable groups of tools available to the agent.","required":["type"],"properties":{"type":{"type":"string","const":"agent_toolset_20260401","description":"Always `agent_toolset_20260401`.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.type","typeLabel":"string"},"configs":{"type":"array","items":{"oneOf":[{"type":"object","description":"Configuration override for a specific tool within a toolset.","required":["name"],"properties":{"name":{"type":"string","const":"bash","description":"Must be \"bash\".","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0.name","typeLabel":"string"},"enabled":{"oneOf":[{"type":"boolean","description":"Whether this tool is enabled and available to Claude. Overrides the default_config setting.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0.enabled.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether this tool is enabled and available to Claude. Overrides the default_config setting.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0.enabled.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0.enabled","typeLabel":"boolean | null"},"permission_policy":{"oneOf":[{"type":"object","description":"Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.","required":["type"],"properties":{"type":{"type":"string","const":"always_allow","description":"Always `always_allow`.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0.permission_policy.oneOf.0.type","typeLabel":"string"}},"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0.permission_policy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.","required":["type"],"properties":{"type":{"type":"string","const":"always_ask","description":"Always `always_ask`.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0.permission_policy.oneOf.1.type","typeLabel":"string"}},"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0.permission_policy.oneOf.1","typeLabel":"object"},{"type":"object","description":"Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.","required":["type"],"properties":{"type":{"type":"string","const":"auto","description":"Always `auto`.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0.permission_policy.oneOf.2.type","typeLabel":"string"}},"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0.permission_policy.oneOf.2","typeLabel":"object"},{"type":"null","description":"Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0.permission_policy.oneOf.3","typeLabel":"null"}],"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0.permission_policy","typeLabel":"object · object · object · null"},"type":{"type":"string","const":"bash","description":"Always `bash`.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0.type","typeLabel":"string"}},"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"Configuration override for a specific tool within a toolset.","required":["name"],"properties":{"name":{"type":"string","const":"edit","description":"Must be \"edit\".","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1.name","typeLabel":"string"},"enabled":{"oneOf":[{"type":"boolean","description":"Whether this tool is enabled and available to Claude. Overrides the default_config setting.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1.enabled.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether this tool is enabled and available to Claude. Overrides the default_config setting.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1.enabled.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1.enabled","typeLabel":"boolean | null"},"permission_policy":{"oneOf":[{"type":"object","description":"Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.","required":["type"],"properties":{"type":{"type":"string","const":"always_allow","description":"Always `always_allow`.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1.permission_policy.oneOf.0.type","typeLabel":"string"}},"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1.permission_policy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.","required":["type"],"properties":{"type":{"type":"string","const":"always_ask","description":"Always `always_ask`.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1.permission_policy.oneOf.1.type","typeLabel":"string"}},"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1.permission_policy.oneOf.1","typeLabel":"object"},{"type":"object","description":"Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.","required":["type"],"properties":{"type":{"type":"string","const":"auto","description":"Always `auto`.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1.permission_policy.oneOf.2.type","typeLabel":"string"}},"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1.permission_policy.oneOf.2","typeLabel":"object"},{"type":"null","description":"Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1.permission_policy.oneOf.3","typeLabel":"null"}],"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1.permission_policy","typeLabel":"object · object · object · null"},"type":{"type":"string","const":"edit","description":"Always `edit`.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1.type","typeLabel":"string"}},"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1","typeLabel":"object"},{"type":"object","description":"Configuration override for a specific tool within a toolset.","required":["name"],"properties":{"name":{"type":"string","const":"read","description":"Must be \"read\".","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2.name","typeLabel":"string"},"enabled":{"oneOf":[{"type":"boolean","description":"Whether this tool is enabled and available to Claude. Overrides the default_config setting.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2.enabled.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether this tool is enabled and available to Claude. Overrides the default_config setting.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2.enabled.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2.enabled","typeLabel":"boolean | null"},"permission_policy":{"oneOf":[{"type":"object","description":"Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.","required":["type"],"properties":{"type":{"type":"string","const":"always_allow","description":"Always `always_allow`.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2.permission_policy.oneOf.0.type","typeLabel":"string"}},"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2.permission_policy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.","required":["type"],"properties":{"type":{"type":"string","const":"always_ask","description":"Always `always_ask`.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2.permission_policy.oneOf.1.type","typeLabel":"string"}},"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2.permission_policy.oneOf.1","typeLabel":"object"},{"type":"object","description":"Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.","required":["type"],"properties":{"type":{"type":"string","const":"auto","description":"Always `auto`.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2.permission_policy.oneOf.2.type","typeLabel":"string"}},"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2.permission_policy.oneOf.2","typeLabel":"object"},{"type":"null","description":"Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2.permission_policy.oneOf.3","typeLabel":"null"}],"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2.permission_policy","typeLabel":"object · object · object · null"},"type":{"type":"string","const":"read","description":"Always `read`.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2.type","typeLabel":"string"}},"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2","typeLabel":"object"},{"type":"object","description":"Configuration override for a specific tool within a toolset.","required":["name"],"properties":{"name":{"type":"string","const":"write","description":"Must be \"write\".","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3.name","typeLabel":"string"},"enabled":{"oneOf":[{"type":"boolean","description":"Whether this tool is enabled and available to Claude. Overrides the default_config setting.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3.enabled.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether this tool is enabled and available to Claude. Overrides the default_config setting.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3.enabled.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3.enabled","typeLabel":"boolean | null"},"permission_policy":{"oneOf":[{"type":"object","description":"Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.","required":["type"],"properties":{"type":{"type":"string","const":"always_allow","description":"Always `always_allow`.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3.permission_policy.oneOf.0.type","typeLabel":"string"}},"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3.permission_policy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.","required":["type"],"properties":{"type":{"type":"string","const":"always_ask","description":"Always `always_ask`.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3.permission_policy.oneOf.1.type","typeLabel":"string"}},"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3.permission_policy.oneOf.1","typeLabel":"object"},{"type":"object","description":"Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.","required":["type"],"properties":{"type":{"type":"string","const":"auto","description":"Always `auto`.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3.permission_policy.oneOf.2.type","typeLabel":"string"}},"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3.permission_policy.oneOf.2","typeLabel":"object"},{"type":"null","description":"Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3.permission_policy.oneOf.3","typeLabel":"null"}],"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3.permission_policy","typeLabel":"object · object · object · null"},"type":{"type":"string","const":"write","description":"Always `write`.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3.type","typeLabel":"string"}},"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3","typeLabel":"object"},{"type":"object","description":"Configuration override for a specific tool within a toolset.","required":["name"],"properties":{"name":{"type":"string","const":"glob","description":"Must be \"glob\".","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4.name","typeLabel":"string"},"enabled":{"oneOf":[{"type":"boolean","description":"Whether this tool is enabled and available to Claude. Overrides the default_config setting.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4.enabled.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether this tool is enabled and available to Claude. Overrides the default_config setting.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4.enabled.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4.enabled","typeLabel":"boolean | null"},"permission_policy":{"oneOf":[{"type":"object","description":"Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.","required":["type"],"properties":{"type":{"type":"string","const":"always_allow","description":"Always `always_allow`.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4.permission_policy.oneOf.0.type","typeLabel":"string"}},"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4.permission_policy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.","required":["type"],"properties":{"type":{"type":"string","const":"always_ask","description":"Always `always_ask`.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4.permission_policy.oneOf.1.type","typeLabel":"string"}},"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4.permission_policy.oneOf.1","typeLabel":"object"},{"type":"object","description":"Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.","required":["type"],"properties":{"type":{"type":"string","const":"auto","description":"Always `auto`.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4.permission_policy.oneOf.2.type","typeLabel":"string"}},"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4.permission_policy.oneOf.2","typeLabel":"object"},{"type":"null","description":"Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4.permission_policy.oneOf.3","typeLabel":"null"}],"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4.permission_policy","typeLabel":"object · object · object · null"},"type":{"type":"string","const":"glob","description":"Always `glob`.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4.type","typeLabel":"string"}},"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4","typeLabel":"object"},{"type":"object","description":"Configuration override for a specific tool within a toolset.","required":["name"],"properties":{"name":{"type":"string","const":"grep","description":"Must be \"grep\".","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5.name","typeLabel":"string"},"enabled":{"oneOf":[{"type":"boolean","description":"Whether this tool is enabled and available to Claude. Overrides the default_config setting.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5.enabled.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether this tool is enabled and available to Claude. Overrides the default_config setting.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5.enabled.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5.enabled","typeLabel":"boolean | null"},"permission_policy":{"oneOf":[{"type":"object","description":"Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.","required":["type"],"properties":{"type":{"type":"string","const":"always_allow","description":"Always `always_allow`.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5.permission_policy.oneOf.0.type","typeLabel":"string"}},"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5.permission_policy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.","required":["type"],"properties":{"type":{"type":"string","const":"always_ask","description":"Always `always_ask`.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5.permission_policy.oneOf.1.type","typeLabel":"string"}},"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5.permission_policy.oneOf.1","typeLabel":"object"},{"type":"object","description":"Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.","required":["type"],"properties":{"type":{"type":"string","const":"auto","description":"Always `auto`.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5.permission_policy.oneOf.2.type","typeLabel":"string"}},"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5.permission_policy.oneOf.2","typeLabel":"object"},{"type":"null","description":"Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5.permission_policy.oneOf.3","typeLabel":"null"}],"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5.permission_policy","typeLabel":"object · object · object · null"},"type":{"type":"string","const":"grep","description":"Always `grep`.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5.type","typeLabel":"string"}},"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5","typeLabel":"object"},{"type":"object","description":"Configuration override for a specific tool within a toolset.","required":["name"],"properties":{"name":{"type":"string","const":"web_fetch","description":"Must be \"web_fetch\".","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.name","typeLabel":"string"},"allowed_domains":{"type":"array","items":{"type":"string","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.allowed_domains.items.[INDEX]","typeLabel":"string"},"description":"**Not supported on BMA:** Sending it is refused with 400 `unsupported`.\n\nOnly fetch URLs whose host is one of these domains or a subdomain of one. Each entry is a plain hostname like \"docs.example.com\" (no scheme, port, or path). At most 64 entries; an empty list is rejected (omit the field instead). Cannot be combined with blocked_domains.","x-bma-unsupported":"Sending it is refused with 400 `unsupported`.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.allowed_domains","typeLabel":"string[]"},"blocked_domains":{"type":"array","items":{"type":"string","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.blocked_domains.items.[INDEX]","typeLabel":"string"},"description":"**Not supported on BMA:** Sending it is refused with 400 `unsupported`.\n\nNever fetch URLs whose host is one of these domains or a subdomain of one. Each entry is a plain hostname like \"ads.example.com\" (no scheme, port, or path). At most 64 entries; an empty list is rejected (omit the field instead). Cannot be combined with allowed_domains.","x-bma-unsupported":"Sending it is refused with 400 `unsupported`.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.blocked_domains","typeLabel":"string[]"},"enabled":{"oneOf":[{"type":"boolean","description":"Whether this tool is enabled and available to Claude. Overrides the default_config setting.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.enabled.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether this tool is enabled and available to Claude. Overrides the default_config setting.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.enabled.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.enabled","typeLabel":"boolean | null"},"max_content_tokens":{"oneOf":[{"type":"number","description":"**Not supported on BMA:** A non-null value is refused with 400 `unsupported`.\n\nMaximum number of tokens of fetched text content to include in context per call. Does not apply to binary content such as PDFs.","x-bma-unsupported":"A non-null value is refused with 400 `unsupported`.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.max_content_tokens.oneOf.0","typeLabel":"number"},{"type":"null","description":"**Not supported on BMA:** A non-null value is refused with 400 `unsupported`.\n\nMaximum number of tokens of fetched text content to include in context per call. Does not apply to binary content such as PDFs.","x-bma-unsupported":"A non-null value is refused with 400 `unsupported`.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.max_content_tokens.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.max_content_tokens","typeLabel":"number | null"},"permission_policy":{"oneOf":[{"type":"object","description":"Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.","required":["type"],"properties":{"type":{"type":"string","const":"always_allow","description":"Always `always_allow`.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.permission_policy.oneOf.0.type","typeLabel":"string"}},"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.permission_policy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.","required":["type"],"properties":{"type":{"type":"string","const":"always_ask","description":"Always `always_ask`.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.permission_policy.oneOf.1.type","typeLabel":"string"}},"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.permission_policy.oneOf.1","typeLabel":"object"},{"type":"object","description":"Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.","required":["type"],"properties":{"type":{"type":"string","const":"auto","description":"Always `auto`.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.permission_policy.oneOf.2.type","typeLabel":"string"}},"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.permission_policy.oneOf.2","typeLabel":"object"},{"type":"null","description":"Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.permission_policy.oneOf.3","typeLabel":"null"}],"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.permission_policy","typeLabel":"object · object · object · null"},"type":{"type":"string","const":"web_fetch","description":"Always `web_fetch`.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.type","typeLabel":"string"},"url_sources":{"oneOf":[{"type":"object","description":"**Not supported on BMA:** A non-null value is refused with 400 `unsupported`.\n\nWhich sources contribute URLs the tool may fetch. Omit to allow every source.","x-bma-unsupported":"A non-null value is refused with 400 `unsupported`.","properties":{"client_tool_results":{"oneOf":[{"type":"string","description":"Which custom tools' results contribute URLs that may be fetched: \"all\" (the default), \"none\", or an only or except list. Each name in a list must be a custom tool in the same tools array.","enum":["all","none"],"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"object","description":"Which custom tools' results contribute URLs that may be fetched: \"all\" (the default), \"none\", or an only or except list. Each name in a list must be a custom tool in the same tools array.","required":["type"],"properties":{"type":{"type":"string","const":"all","description":"Always `all`.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.1.type","typeLabel":"string"}},"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.1","typeLabel":"object"},{"type":"object","description":"Which custom tools' results contribute URLs that may be fetched: \"all\" (the default), \"none\", or an only or except list. Each name in a list must be a custom tool in the same tools array.","required":["type"],"properties":{"type":{"type":"string","const":"none","description":"Always `none`.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.2.type","typeLabel":"string"}},"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.2","typeLabel":"object"},{"type":"object","description":"Which custom tools' results contribute URLs that may be fetched: \"all\" (the default), \"none\", or an only or except list. Each name in a list must be a custom tool in the same tools array.","required":["tools","type"],"properties":{"tools":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Name of the tool. Compared exactly, so upper and lower case letters are different.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.3.tools.items.[INDEX].name","typeLabel":"string"},"type":{"type":"string","const":"tool_reference","description":"Must be \"tool_reference\".","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.3.tools.items.[INDEX].type","typeLabel":"string"}},"required":["name","type"],"description":"Names one tool in an only or except list.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.3.tools.items.[INDEX]","typeLabel":"object"},"description":"The tools whose results contribute. Between 1 and 128 entries, each with a different name. An empty list is rejected; use \"none\" to allow no tool's results.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.3.tools","typeLabel":"object[]"},"type":{"type":"string","const":"only","description":"Always `only`.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.3.type","typeLabel":"string"}},"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.3","typeLabel":"object"},{"type":"object","description":"Which custom tools' results contribute URLs that may be fetched: \"all\" (the default), \"none\", or an only or except list. Each name in a list must be a custom tool in the same tools array.","required":["tools","type"],"properties":{"tools":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Name of the tool. Compared exactly, so upper and lower case letters are different.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.4.tools.items.[INDEX].name","typeLabel":"string"},"type":{"type":"string","const":"tool_reference","description":"Must be \"tool_reference\".","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.4.tools.items.[INDEX].type","typeLabel":"string"}},"required":["name","type"],"description":"Names one tool in an only or except list.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.4.tools.items.[INDEX]","typeLabel":"object"},"description":"The tools whose results do not contribute. Between 1 and 128 entries, each with a different name. An empty list is rejected; use \"all\" to leave out no tool's results.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.4.tools","typeLabel":"object[]"},"type":{"type":"string","const":"except","description":"Always `except`.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.4.type","typeLabel":"string"}},"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.4","typeLabel":"object"},{"type":"null","description":"Which custom tools' results contribute URLs that may be fetched: \"all\" (the default), \"none\", or an only or except list. Each name in a list must be a custom tool in the same tools array.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.5","typeLabel":"null"}],"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results","typeLabel":"enum\u003cstring> · object · object · object · object · null"},"server_tool_results":{"oneOf":[{"type":"string","description":"Which of the web_search and web_fetch tools' results contribute URLs that may be fetched: \"all\" (the default), \"none\", or an only or except list. Each name in a list must be \"web_search\" or \"web_fetch\".","enum":["all","none"],"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"object","description":"Which of the web_search and web_fetch tools' results contribute URLs that may be fetched: \"all\" (the default), \"none\", or an only or except list. Each name in a list must be \"web_search\" or \"web_fetch\".","required":["type"],"properties":{"type":{"type":"string","const":"all","description":"Always `all`.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.1.type","typeLabel":"string"}},"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.1","typeLabel":"object"},{"type":"object","description":"Which of the web_search and web_fetch tools' results contribute URLs that may be fetched: \"all\" (the default), \"none\", or an only or except list. Each name in a list must be \"web_search\" or \"web_fetch\".","required":["type"],"properties":{"type":{"type":"string","const":"none","description":"Always `none`.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.2.type","typeLabel":"string"}},"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.2","typeLabel":"object"},{"type":"object","description":"Which of the web_search and web_fetch tools' results contribute URLs that may be fetched: \"all\" (the default), \"none\", or an only or except list. Each name in a list must be \"web_search\" or \"web_fetch\".","required":["tools","type"],"properties":{"tools":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Name of the tool. Compared exactly, so upper and lower case letters are different.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.3.tools.items.[INDEX].name","typeLabel":"string"},"type":{"type":"string","const":"tool_reference","description":"Must be \"tool_reference\".","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.3.tools.items.[INDEX].type","typeLabel":"string"}},"required":["name","type"],"description":"Names one tool in an only or except list.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.3.tools.items.[INDEX]","typeLabel":"object"},"description":"The tools whose results contribute. Between 1 and 128 entries, each with a different name. An empty list is rejected; use \"none\" to allow no tool's results.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.3.tools","typeLabel":"object[]"},"type":{"type":"string","const":"only","description":"Always `only`.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.3.type","typeLabel":"string"}},"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.3","typeLabel":"object"},{"type":"object","description":"Which of the web_search and web_fetch tools' results contribute URLs that may be fetched: \"all\" (the default), \"none\", or an only or except list. Each name in a list must be \"web_search\" or \"web_fetch\".","required":["tools","type"],"properties":{"tools":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Name of the tool. Compared exactly, so upper and lower case letters are different.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.4.tools.items.[INDEX].name","typeLabel":"string"},"type":{"type":"string","const":"tool_reference","description":"Must be \"tool_reference\".","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.4.tools.items.[INDEX].type","typeLabel":"string"}},"required":["name","type"],"description":"Names one tool in an only or except list.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.4.tools.items.[INDEX]","typeLabel":"object"},"description":"The tools whose results do not contribute. Between 1 and 128 entries, each with a different name. An empty list is rejected; use \"all\" to leave out no tool's results.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.4.tools","typeLabel":"object[]"},"type":{"type":"string","const":"except","description":"Always `except`.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.4.type","typeLabel":"string"}},"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.4","typeLabel":"object"},{"type":"null","description":"Which of the web_search and web_fetch tools' results contribute URLs that may be fetched: \"all\" (the default), \"none\", or an only or except list. Each name in a list must be \"web_search\" or \"web_fetch\".","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.5","typeLabel":"null"}],"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results","typeLabel":"enum\u003cstring> · object · object · object · object · null"},"user_input":{"oneOf":[{"type":"string","description":"Whether URLs in the text of user messages may be fetched: \"all\" (the default) or \"none\".","enum":["all","none"],"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.user_input.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"object","description":"Whether URLs in the text of user messages may be fetched: \"all\" (the default) or \"none\".","required":["type"],"properties":{"type":{"type":"string","const":"all","description":"Always `all`.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.user_input.oneOf.1.type","typeLabel":"string"}},"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.user_input.oneOf.1","typeLabel":"object"},{"type":"object","description":"Whether URLs in the text of user messages may be fetched: \"all\" (the default) or \"none\".","required":["type"],"properties":{"type":{"type":"string","const":"none","description":"Always `none`.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.user_input.oneOf.2.type","typeLabel":"string"}},"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.user_input.oneOf.2","typeLabel":"object"},{"type":"null","description":"Whether URLs in the text of user messages may be fetched: \"all\" (the default) or \"none\".","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.user_input.oneOf.3","typeLabel":"null"}],"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.user_input","typeLabel":"enum\u003cstring> · object · object · null"}},"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0","typeLabel":"object"},{"type":"null","description":"**Not supported on BMA:** A non-null value is refused with 400 `unsupported`.\n\nWhich sources contribute URLs the tool may fetch. Omit to allow every source.","x-bma-unsupported":"A non-null value is refused with 400 `unsupported`.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources","typeLabel":"object | null"}},"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6","typeLabel":"object"},{"type":"object","description":"Configuration override for a specific tool within a toolset.","required":["name"],"properties":{"name":{"type":"string","const":"web_search","description":"Must be \"web_search\".","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.name","typeLabel":"string"},"allowed_domains":{"type":"array","items":{"type":"string","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.allowed_domains.items.[INDEX]","typeLabel":"string"},"description":"Only return search results whose host is one of these domains or a subdomain of one. Each entry is a plain hostname like \"docs.example.com\" (no scheme or port; an optional path suffix is accepted). At most 64 entries; an empty list is rejected (omit the field instead). Cannot be combined with blocked_domains.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.allowed_domains","typeLabel":"string[]"},"blocked_domains":{"type":"array","items":{"type":"string","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.blocked_domains.items.[INDEX]","typeLabel":"string"},"description":"Never return search results whose host is one of these domains or a subdomain of one. Each entry is a plain hostname like \"ads.example.com\" (no scheme or port; an optional path suffix is accepted). At most 64 entries; an empty list is rejected (omit the field instead). Cannot be combined with allowed_domains.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.blocked_domains","typeLabel":"string[]"},"enabled":{"oneOf":[{"type":"boolean","description":"Whether this tool is enabled and available to Claude. Overrides the default_config setting.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.enabled.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether this tool is enabled and available to Claude. Overrides the default_config setting.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.enabled.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.enabled","typeLabel":"boolean | null"},"permission_policy":{"oneOf":[{"type":"object","description":"Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.","required":["type"],"properties":{"type":{"type":"string","const":"always_allow","description":"Always `always_allow`.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.permission_policy.oneOf.0.type","typeLabel":"string"}},"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.permission_policy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.","required":["type"],"properties":{"type":{"type":"string","const":"always_ask","description":"Always `always_ask`.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.permission_policy.oneOf.1.type","typeLabel":"string"}},"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.permission_policy.oneOf.1","typeLabel":"object"},{"type":"object","description":"Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.","required":["type"],"properties":{"type":{"type":"string","const":"auto","description":"Always `auto`.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.permission_policy.oneOf.2.type","typeLabel":"string"}},"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.permission_policy.oneOf.2","typeLabel":"object"},{"type":"null","description":"Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.permission_policy.oneOf.3","typeLabel":"null"}],"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.permission_policy","typeLabel":"object · object · object · null"},"type":{"type":"string","const":"web_search","description":"Always `web_search`.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.type","typeLabel":"string"},"user_location":{"oneOf":[{"type":"object","description":"Approximate user location for search result localization.","required":["type"],"properties":{"type":{"type":"string","const":"approximate","description":"Location precision. Only \"approximate\" is supported.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.type","typeLabel":"string"},"city":{"oneOf":[{"type":"string","description":"City name.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.city.oneOf.0","typeLabel":"string"},{"type":"null","description":"City name.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.city","typeLabel":"string | null"},"country":{"oneOf":[{"type":"string","description":"Two-letter ISO 3166-1 country code, uppercase.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.country.oneOf.0","typeLabel":"string"},{"type":"null","description":"Two-letter ISO 3166-1 country code, uppercase.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.country","typeLabel":"string | null"},"region":{"oneOf":[{"type":"string","description":"Region or state name.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.region.oneOf.0","typeLabel":"string"},{"type":"null","description":"Region or state name.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.region.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.region","typeLabel":"string | null"},"timezone":{"oneOf":[{"type":"string","description":"IANA timezone identifier, e.g. \"America/Los_Angeles\".","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.timezone.oneOf.0","typeLabel":"string"},{"type":"null","description":"IANA timezone identifier, e.g. \"America/Los_Angeles\".","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.timezone.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.timezone","typeLabel":"string | null"}},"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0","typeLabel":"object"},{"type":"null","description":"Approximate user location for search result localization.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location","typeLabel":"object | null"}},"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7","typeLabel":"object"}],"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs.items.[INDEX]","typeLabel":"object"},"description":"Per-tool configuration overrides.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.configs","typeLabel":"object[]"},"default_config":{"oneOf":[{"type":"object","description":"Default configuration applied to all tools in this set.","properties":{"enabled":{"oneOf":[{"type":"boolean","description":"Whether tools are enabled and available to Claude by default. Defaults to true if not specified.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.default_config.oneOf.0.enabled.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether tools are enabled and available to Claude by default. Defaults to true if not specified.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.default_config.oneOf.0.enabled.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.default_config.oneOf.0.enabled","typeLabel":"boolean | null"},"permission_policy":{"oneOf":[{"type":"object","description":"Default permission policy for tools. Controls whether tool calls are auto-approved or require confirmation.","required":["type"],"properties":{"type":{"type":"string","const":"always_allow","description":"Always `always_allow`.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.default_config.oneOf.0.permission_policy.oneOf.0.type","typeLabel":"string"}},"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.default_config.oneOf.0.permission_policy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Default permission policy for tools. Controls whether tool calls are auto-approved or require confirmation.","required":["type"],"properties":{"type":{"type":"string","const":"always_ask","description":"Always `always_ask`.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.default_config.oneOf.0.permission_policy.oneOf.1.type","typeLabel":"string"}},"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.default_config.oneOf.0.permission_policy.oneOf.1","typeLabel":"object"},{"type":"object","description":"Default permission policy for tools. Controls whether tool calls are auto-approved or require confirmation.","required":["type"],"properties":{"type":{"type":"string","const":"auto","description":"Always `auto`.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.default_config.oneOf.0.permission_policy.oneOf.2.type","typeLabel":"string"}},"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.default_config.oneOf.0.permission_policy.oneOf.2","typeLabel":"object"},{"type":"null","description":"Default permission policy for tools. Controls whether tool calls are auto-approved or require confirmation.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.default_config.oneOf.0.permission_policy.oneOf.3","typeLabel":"null"}],"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.default_config.oneOf.0.permission_policy","typeLabel":"object · object · object · null"}},"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.default_config.oneOf.0","typeLabel":"object"},{"type":"null","description":"Default configuration applied to all tools in this set.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.default_config.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0.default_config","typeLabel":"object | null"}},"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"Configuration for tools from an MCP server defined in `mcp_servers`.","required":["mcp_server_name","type"],"properties":{"mcp_server_name":{"type":"string","description":"Name of the MCP server. Must match a server name from the mcp_servers array. 1-255 characters.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.1.mcp_server_name","typeLabel":"string"},"type":{"type":"string","const":"mcp_toolset","description":"Always `mcp_toolset`.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.1.type","typeLabel":"string"},"configs":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Name of the MCP tool to configure. 1-128 characters.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.1.configs.items.[INDEX].name","typeLabel":"string"},"enabled":{"oneOf":[{"type":"boolean","description":"Whether this tool is enabled. Overrides the `default_config` setting.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.1.configs.items.[INDEX].enabled.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether this tool is enabled. Overrides the `default_config` setting.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.1.configs.items.[INDEX].enabled.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.1.configs.items.[INDEX].enabled","typeLabel":"boolean | null"},"permission_policy":{"oneOf":[{"type":"object","description":"Permission policy for this tool. Overrides the `default_config` setting.","required":["type"],"properties":{"type":{"type":"string","const":"always_allow","description":"Always `always_allow`.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.1.configs.items.[INDEX].permission_policy.oneOf.0.type","typeLabel":"string"}},"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.1.configs.items.[INDEX].permission_policy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Permission policy for this tool. Overrides the `default_config` setting.","required":["type"],"properties":{"type":{"type":"string","const":"always_ask","description":"Always `always_ask`.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.1.configs.items.[INDEX].permission_policy.oneOf.1.type","typeLabel":"string"}},"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.1.configs.items.[INDEX].permission_policy.oneOf.1","typeLabel":"object"},{"type":"object","description":"Permission policy for this tool. Overrides the `default_config` setting.","required":["type"],"properties":{"type":{"type":"string","const":"auto","description":"Always `auto`.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.1.configs.items.[INDEX].permission_policy.oneOf.2.type","typeLabel":"string"}},"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.1.configs.items.[INDEX].permission_policy.oneOf.2","typeLabel":"object"},{"type":"null","description":"Permission policy for this tool. Overrides the `default_config` setting.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.1.configs.items.[INDEX].permission_policy.oneOf.3","typeLabel":"null"}],"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.1.configs.items.[INDEX].permission_policy","typeLabel":"object · object · object · null"}},"required":["name"],"description":"Configuration override for a specific MCP tool.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.1.configs.items.[INDEX]","typeLabel":"object"},"description":"Per-tool configuration overrides.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.1.configs","typeLabel":"object[]"},"default_config":{"oneOf":[{"type":"object","description":"Default configuration for all tools from this server.","properties":{"enabled":{"oneOf":[{"type":"boolean","description":"Whether tools are enabled by default. Defaults to true if not specified.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.1.default_config.oneOf.0.enabled.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether tools are enabled by default. Defaults to true if not specified.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.1.default_config.oneOf.0.enabled.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.1.default_config.oneOf.0.enabled","typeLabel":"boolean | null"},"permission_policy":{"oneOf":[{"type":"object","description":"Default permission policy for tools from this server.","required":["type"],"properties":{"type":{"type":"string","const":"always_allow","description":"Always `always_allow`.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.1.default_config.oneOf.0.permission_policy.oneOf.0.type","typeLabel":"string"}},"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.1.default_config.oneOf.0.permission_policy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Default permission policy for tools from this server.","required":["type"],"properties":{"type":{"type":"string","const":"always_ask","description":"Always `always_ask`.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.1.default_config.oneOf.0.permission_policy.oneOf.1.type","typeLabel":"string"}},"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.1.default_config.oneOf.0.permission_policy.oneOf.1","typeLabel":"object"},{"type":"object","description":"Default permission policy for tools from this server.","required":["type"],"properties":{"type":{"type":"string","const":"auto","description":"Always `auto`.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.1.default_config.oneOf.0.permission_policy.oneOf.2.type","typeLabel":"string"}},"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.1.default_config.oneOf.0.permission_policy.oneOf.2","typeLabel":"object"},{"type":"null","description":"Default permission policy for tools from this server.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.1.default_config.oneOf.0.permission_policy.oneOf.3","typeLabel":"null"}],"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.1.default_config.oneOf.0.permission_policy","typeLabel":"object · object · object · null"}},"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.1.default_config.oneOf.0","typeLabel":"object"},{"type":"null","description":"Default configuration for all tools from this server.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.1.default_config.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.1.default_config","typeLabel":"object | null"}},"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.1","typeLabel":"object"},{"type":"object","description":"A custom tool that is executed by the API client rather than the agent. When the agent calls this tool, an `agent.custom_tool_use` event is emitted and the session goes idle, waiting for the client to provide the result via a `user.custom_tool_result` event.","required":["description","input_schema","name","type"],"properties":{"description":{"type":"string","description":"Description of what the tool does, shown to the agent to help it decide when to use the tool.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.2.description","typeLabel":"string"},"input_schema":{"type":"object","properties":{"type":{"type":"string","const":"object","description":"Always `object`.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.2.input_schema.type","typeLabel":"string"},"properties":{"oneOf":[{"type":"object","description":"JSON Schema of each input member, keyed by member name.","additionalProperties":{"oneOf":[{}],"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.2.input_schema.properties.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.2.input_schema.properties.oneOf.0","typeLabel":"object"},{"type":"null","description":"JSON Schema of each input member, keyed by member name.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.2.input_schema.properties.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.2.input_schema.properties","typeLabel":"object | null"},"required":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.2.input_schema.required.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"Names of the input members the model must provide.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.2.input_schema.required.oneOf.0","typeLabel":"string[]"},{"type":"null","description":"Names of the input members the model must provide.","uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.2.input_schema.required.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.2.input_schema.required","typeLabel":"string[] | null"}},"required":["type"],"additionalProperties":{"oneOf":[{}],"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.2.input_schema.additionalProperties","typeLabel":"any"},"description":"JSON Schema defining the expected input parameters for the tool.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.2.input_schema","typeLabel":"object"},"name":{"type":"string","description":"Unique name for the tool. 1-128 characters; letters, digits, underscores, and hyphens.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.2.name","typeLabel":"string"},"type":{"type":"string","const":"custom","description":"Always `custom`.","isRequired":true,"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.2.type","typeLabel":"string"}},"uniqueKey":"agent.oneOf.2.tools.items.[INDEX].oneOf.2","typeLabel":"object"}],"uniqueKey":"agent.oneOf.2.tools.items.[INDEX]","typeLabel":"object"},"description":"Replacement tool list. Full replacement: the provided array becomes the tool configuration. Send an empty array to clear; omit to preserve the agent's tools.","uniqueKey":"agent.oneOf.2.tools","typeLabel":"object[]"},"version":{"type":"number","description":"The specific `agent` version to use. Omit to use the latest version.","uniqueKey":"agent.oneOf.2.version","typeLabel":"number"}},"isRequired":true,"uniqueKey":"agent.oneOf.2","typeLabel":"object"}],"isRequired":true,"uniqueKey":"agent","typeLabel":"string · object · object"},"environment_id":{"type":"string","description":"ID of the environment the session runs in: an `env_` environment, or an `mch_` machine environment the agent may use. An unknown or archived environment is refused.","isRequired":true,"uniqueKey":"environment_id","typeLabel":"string"},"budget":{"type":"object","properties":{"max_list_cost":{"type":"object","properties":{"amount":{"type":"string","description":"Amount in minor units of the currency, as an integer decimal string with no leading zeros: \"2500\" is $25.00 and \"50\" is fifty cents. A string rather than a number so no float rounding is ever applied.","isRequired":true,"uniqueKey":"budget.max_list_cost.amount","typeLabel":"string"},"currency":{"type":"string","const":"USD","description":"Uppercase ISO-4217 currency code. `USD` is the only currency currently supported; the accepted set is closed and grows only when a new currency is priced.","isRequired":true,"uniqueKey":"budget.max_list_cost.currency","typeLabel":"string"}},"required":["amount","currency"],"description":"Maximum list cost the session may accrue. List price is used regardless of any negotiated discount, so the cap fires at or before the actual charge.","isRequired":true,"uniqueKey":"budget.max_list_cost","typeLabel":"object"},"type":{"type":"string","const":"limit","description":"Always `limit`.","isRequired":true,"uniqueKey":"budget.type","typeLabel":"string"}},"required":["max_list_cost","type"],"description":"**Not supported on BMA:** A non-null value is refused with 400 `unsupported_session_option`.\n\nEnforced spend ceiling for the session. Omit to create an uncapped session. Every model the session can run — the agent's model and each callable agent's model — must have a public list price, or the request is rejected with reason `model_not_budgetable`.","x-bma-unsupported":"A non-null value is refused with 400 `unsupported_session_option`.","uniqueKey":"budget","typeLabel":"object"},"initial_events":{"type":"array","items":{"oneOf":[{"type":"object","description":"Parameters for sending a user message to the session.","required":["content","type"],"properties":{"content":{"type":"array","items":{"oneOf":[{"type":"object","description":"Regular text content.","required":["text","type"],"properties":{"text":{"type":"string","description":"The text content.","isRequired":true,"uniqueKey":"initial_events.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.0.text","typeLabel":"string"},"type":{"type":"string","const":"text","description":"Always `text`.","isRequired":true,"uniqueKey":"initial_events.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.0.type","typeLabel":"string"}},"uniqueKey":"initial_events.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"Image content specified directly as base64 data or as a reference via a URL.","required":["source","type"],"properties":{"source":{"oneOf":[{"type":"object","description":"The source of the image data.","required":["data","media_type","type"],"properties":{"data":{"type":"string","description":"Base64-encoded image data.","isRequired":true,"uniqueKey":"initial_events.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.1.source.oneOf.0.data","typeLabel":"string"},"media_type":{"type":"string","description":"MIME type of the image (e.g., \"image/png\", \"image/jpeg\", \"image/gif\", \"image/webp\").","isRequired":true,"uniqueKey":"initial_events.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.1.source.oneOf.0.media_type","typeLabel":"string"},"type":{"type":"string","const":"base64","description":"Always `base64`.","isRequired":true,"uniqueKey":"initial_events.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.1.source.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"initial_events.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.1.source.oneOf.0","typeLabel":"object"},{"type":"object","description":"The source of the image data.","required":["type","url"],"properties":{"type":{"type":"string","const":"url","description":"Always `url`.","isRequired":true,"uniqueKey":"initial_events.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.1.source.oneOf.1.type","typeLabel":"string"},"url":{"type":"string","description":"URL of the image to fetch.","isRequired":true,"uniqueKey":"initial_events.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.1.source.oneOf.1.url","typeLabel":"string"}},"isRequired":true,"uniqueKey":"initial_events.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.1.source.oneOf.1","typeLabel":"object"},{"type":"object","description":"The source of the image data.","required":["file_id","type"],"properties":{"file_id":{"type":"string","description":"ID of a previously uploaded file.","isRequired":true,"uniqueKey":"initial_events.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.1.source.oneOf.2.file_id","typeLabel":"string"},"type":{"type":"string","const":"file","description":"Always `file`.","isRequired":true,"uniqueKey":"initial_events.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.1.source.oneOf.2.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"initial_events.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.1.source.oneOf.2","typeLabel":"object"}],"isRequired":true,"uniqueKey":"initial_events.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.1.source","typeLabel":"object"},"type":{"type":"string","const":"image","description":"Always `image`.","isRequired":true,"uniqueKey":"initial_events.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.1.type","typeLabel":"string"}},"uniqueKey":"initial_events.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.1","typeLabel":"object"},{"type":"object","description":"Document content, either specified directly as base64 data, as text, or as a reference via a URL.","required":["source","type"],"properties":{"source":{"oneOf":[{"type":"object","description":"The source of the document data.","required":["data","media_type","type"],"properties":{"data":{"type":"string","description":"Base64-encoded document data.","isRequired":true,"uniqueKey":"initial_events.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.2.source.oneOf.0.data","typeLabel":"string"},"media_type":{"type":"string","description":"MIME type of the document (e.g., \"application/pdf\").","isRequired":true,"uniqueKey":"initial_events.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.2.source.oneOf.0.media_type","typeLabel":"string"},"type":{"type":"string","const":"base64","description":"Always `base64`.","isRequired":true,"uniqueKey":"initial_events.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.2.source.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"initial_events.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.2.source.oneOf.0","typeLabel":"object"},{"type":"object","description":"The source of the document data.","required":["data","media_type","type"],"properties":{"data":{"type":"string","description":"The plain text content.","isRequired":true,"uniqueKey":"initial_events.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.2.source.oneOf.1.data","typeLabel":"string"},"media_type":{"type":"string","const":"text/plain","description":"MIME type of the text content. Must be \"text/plain\".","isRequired":true,"uniqueKey":"initial_events.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.2.source.oneOf.1.media_type","typeLabel":"string"},"type":{"type":"string","const":"text","description":"Always `text`.","isRequired":true,"uniqueKey":"initial_events.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.2.source.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"initial_events.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.2.source.oneOf.1","typeLabel":"object"},{"type":"object","description":"The source of the document data.","required":["type","url"],"properties":{"type":{"type":"string","const":"url","description":"Always `url`.","isRequired":true,"uniqueKey":"initial_events.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.2.source.oneOf.2.type","typeLabel":"string"},"url":{"type":"string","description":"URL of the document to fetch.","isRequired":true,"uniqueKey":"initial_events.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.2.source.oneOf.2.url","typeLabel":"string"}},"isRequired":true,"uniqueKey":"initial_events.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.2.source.oneOf.2","typeLabel":"object"},{"type":"object","description":"The source of the document data.","required":["file_id","type"],"properties":{"file_id":{"type":"string","description":"ID of a previously uploaded file.","isRequired":true,"uniqueKey":"initial_events.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.2.source.oneOf.3.file_id","typeLabel":"string"},"type":{"type":"string","const":"file","description":"Always `file`.","isRequired":true,"uniqueKey":"initial_events.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.2.source.oneOf.3.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"initial_events.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.2.source.oneOf.3","typeLabel":"object"}],"isRequired":true,"uniqueKey":"initial_events.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.2.source","typeLabel":"object"},"type":{"type":"string","const":"document","description":"Always `document`.","isRequired":true,"uniqueKey":"initial_events.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.2.type","typeLabel":"string"},"context":{"oneOf":[{"type":"string","description":"Additional context about the document for the model.","uniqueKey":"initial_events.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.2.context.oneOf.0","typeLabel":"string"},{"type":"null","description":"Additional context about the document for the model.","uniqueKey":"initial_events.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.2.context.oneOf.1","typeLabel":"null"}],"uniqueKey":"initial_events.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.2.context","typeLabel":"string | null"},"title":{"oneOf":[{"type":"string","description":"The title of the document.","uniqueKey":"initial_events.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.2.title.oneOf.0","typeLabel":"string"},{"type":"null","description":"The title of the document.","uniqueKey":"initial_events.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.2.title.oneOf.1","typeLabel":"null"}],"uniqueKey":"initial_events.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.2.title","typeLabel":"string | null"}},"uniqueKey":"initial_events.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.2","typeLabel":"object"},{"type":"object","description":"Placeholder for content withheld by Anthropic model policy.","required":["type"],"properties":{"type":{"type":"string","const":"redacted","description":"Always `redacted`.","isRequired":true,"uniqueKey":"initial_events.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.3.type","typeLabel":"string"}},"uniqueKey":"initial_events.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.3","typeLabel":"object"}],"uniqueKey":"initial_events.items.[INDEX].oneOf.0.content.items.[INDEX]","typeLabel":"object"},"description":"Array of content blocks for the user message.","isRequired":true,"uniqueKey":"initial_events.items.[INDEX].oneOf.0.content","typeLabel":"object[]"},"type":{"type":"string","const":"user.message","description":"Always `user.message`.","isRequired":true,"uniqueKey":"initial_events.items.[INDEX].oneOf.0.type","typeLabel":"string"}},"uniqueKey":"initial_events.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"**Not supported on BMA:** Sending `user.define_outcome` is refused with 400.\n\nParameters for defining an outcome the agent should work toward. The agent begins work on receipt.","required":["description","rubric","type"],"x-bma-unsupported":"Sending `user.define_outcome` is refused with 400.","properties":{"description":{"type":"string","description":"What the agent should produce. This is the task specification.","isRequired":true,"uniqueKey":"initial_events.items.[INDEX].oneOf.1.description","typeLabel":"string"},"rubric":{"oneOf":[{"type":"object","description":"How to grade the outcome. Text or file reference.","required":["file_id","type"],"properties":{"file_id":{"type":"string","description":"ID of the rubric file.","isRequired":true,"uniqueKey":"initial_events.items.[INDEX].oneOf.1.rubric.oneOf.0.file_id","typeLabel":"string"},"type":{"type":"string","const":"file","description":"Always `file`.","isRequired":true,"uniqueKey":"initial_events.items.[INDEX].oneOf.1.rubric.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"initial_events.items.[INDEX].oneOf.1.rubric.oneOf.0","typeLabel":"object"},{"type":"object","description":"How to grade the outcome. Text or file reference.","required":["content","type"],"properties":{"content":{"type":"string","description":"Rubric content. Plain text or markdown — the grader treats it as freeform text. Maximum 262144 characters.","isRequired":true,"uniqueKey":"initial_events.items.[INDEX].oneOf.1.rubric.oneOf.1.content","typeLabel":"string"},"type":{"type":"string","const":"text","description":"Always `text`.","isRequired":true,"uniqueKey":"initial_events.items.[INDEX].oneOf.1.rubric.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"initial_events.items.[INDEX].oneOf.1.rubric.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"initial_events.items.[INDEX].oneOf.1.rubric","typeLabel":"object"},"type":{"type":"string","const":"user.define_outcome","description":"Always `user.define_outcome`.","isRequired":true,"uniqueKey":"initial_events.items.[INDEX].oneOf.1.type","typeLabel":"string"},"max_iterations":{"oneOf":[{"type":"number","description":"Eval→revision cycles before giving up. Default 3, max 20.","uniqueKey":"initial_events.items.[INDEX].oneOf.1.max_iterations.oneOf.0","typeLabel":"number"},{"type":"null","description":"Eval→revision cycles before giving up. Default 3, max 20.","uniqueKey":"initial_events.items.[INDEX].oneOf.1.max_iterations.oneOf.1","typeLabel":"null"}],"uniqueKey":"initial_events.items.[INDEX].oneOf.1.max_iterations","typeLabel":"number | null"}},"uniqueKey":"initial_events.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"initial_events.items.[INDEX]","typeLabel":"object"},"description":"**Not supported on BMA:** A non-empty list is refused with 400 `unsupported_session_option`.\n\nSend the first `user.message` to the session's events after creating it.","x-bma-unsupported":"A non-empty list is refused with 400 `unsupported_session_option`.","uniqueKey":"initial_events","typeLabel":"object[]"},"metadata":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"metadata.additionalProperties","typeLabel":"string"},"description":"Key-value strings stored with the session and returned as sent: at most 16 pairs, keys of 1 to 64 characters, values of at most 512 characters.","uniqueKey":"metadata","typeLabel":"object"},"resources":{"type":"array","items":{"oneOf":[{"type":"object","description":"**Not supported on BMA:** A `github_repository` resource is refused with 400 `unsupported_session_option`.\n\nMount a GitHub repository into the session's container.","required":["type","url"],"x-bma-unsupported":"A `github_repository` resource is refused with 400 `unsupported_session_option`.","properties":{"type":{"type":"string","const":"github_repository","description":"Always `github_repository`.","isRequired":true,"uniqueKey":"resources.items.[INDEX].oneOf.0.type","typeLabel":"string"},"url":{"type":"string","description":"Github URL of the repository","isRequired":true,"uniqueKey":"resources.items.[INDEX].oneOf.0.url","typeLabel":"string"},"authorization_token":{"type":"string","description":"GitHub authorization token used to clone the repository. Required for private repositories; optional for public ones.","uniqueKey":"resources.items.[INDEX].oneOf.0.authorization_token","typeLabel":"string"},"checkout":{"oneOf":[{"type":"object","description":"Branch or commit to check out. Defaults to the repository's default branch.","required":["name","type"],"properties":{"name":{"type":"string","description":"Branch name to check out.","isRequired":true,"uniqueKey":"resources.items.[INDEX].oneOf.0.checkout.oneOf.0.name","typeLabel":"string"},"type":{"type":"string","const":"branch","description":"Always `branch`.","isRequired":true,"uniqueKey":"resources.items.[INDEX].oneOf.0.checkout.oneOf.0.type","typeLabel":"string"}},"uniqueKey":"resources.items.[INDEX].oneOf.0.checkout.oneOf.0","typeLabel":"object"},{"type":"object","description":"Branch or commit to check out. Defaults to the repository's default branch.","required":["sha","type"],"properties":{"sha":{"type":"string","description":"Full commit SHA to check out.","isRequired":true,"uniqueKey":"resources.items.[INDEX].oneOf.0.checkout.oneOf.1.sha","typeLabel":"string"},"type":{"type":"string","const":"commit","description":"Always `commit`.","isRequired":true,"uniqueKey":"resources.items.[INDEX].oneOf.0.checkout.oneOf.1.type","typeLabel":"string"}},"uniqueKey":"resources.items.[INDEX].oneOf.0.checkout.oneOf.1","typeLabel":"object"},{"type":"null","description":"Branch or commit to check out. Defaults to the repository's default branch.","uniqueKey":"resources.items.[INDEX].oneOf.0.checkout.oneOf.2","typeLabel":"null"}],"uniqueKey":"resources.items.[INDEX].oneOf.0.checkout","typeLabel":"object · object · null"},"mount_path":{"oneOf":[{"type":"string","description":"Mount path in the container. Defaults to `/workspace/\u003crepo-name>`.","uniqueKey":"resources.items.[INDEX].oneOf.0.mount_path.oneOf.0","typeLabel":"string"},{"type":"null","description":"Mount path in the container. Defaults to `/workspace/\u003crepo-name>`.","uniqueKey":"resources.items.[INDEX].oneOf.0.mount_path.oneOf.1","typeLabel":"null"}],"uniqueKey":"resources.items.[INDEX].oneOf.0.mount_path","typeLabel":"string | null"}},"uniqueKey":"resources.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"Mount a file uploaded via the Files API into the session.","required":["file_id","type"],"properties":{"file_id":{"type":"string","description":"ID of a previously uploaded file.","isRequired":true,"uniqueKey":"resources.items.[INDEX].oneOf.1.file_id","typeLabel":"string"},"type":{"type":"string","const":"file","description":"Always `file`.","isRequired":true,"uniqueKey":"resources.items.[INDEX].oneOf.1.type","typeLabel":"string"},"mount_path":{"oneOf":[{"type":"string","description":"Mount path in the container. Defaults to `/mnt/session/uploads/\u003cfile_id>`.","uniqueKey":"resources.items.[INDEX].oneOf.1.mount_path.oneOf.0","typeLabel":"string"},{"type":"null","description":"Mount path in the container. Defaults to `/mnt/session/uploads/\u003cfile_id>`.","uniqueKey":"resources.items.[INDEX].oneOf.1.mount_path.oneOf.1","typeLabel":"null"}],"uniqueKey":"resources.items.[INDEX].oneOf.1.mount_path","typeLabel":"string | null"}},"uniqueKey":"resources.items.[INDEX].oneOf.1","typeLabel":"object"},{"type":"object","description":"Parameters for attaching a memory store to an agent session.","required":["memory_store_id","type"],"properties":{"memory_store_id":{"type":"string","description":"The memory store ID (memstore_...). Must belong to the caller's organization and workspace.","isRequired":true,"uniqueKey":"resources.items.[INDEX].oneOf.2.memory_store_id","typeLabel":"string"},"type":{"type":"string","const":"memory_store","description":"Always `memory_store`.","isRequired":true,"uniqueKey":"resources.items.[INDEX].oneOf.2.type","typeLabel":"string"},"access":{"oneOf":[{"type":"string","enum":["read_write","read_only",null],"description":"Access mode for the mounted store. Defaults to read_write. read_only mounts the store as a read-only filesystem.","uniqueKey":"resources.items.[INDEX].oneOf.2.access.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["read_write","read_only",null],"description":"Access mode for the mounted store. Defaults to read_write. read_only mounts the store as a read-only filesystem.","uniqueKey":"resources.items.[INDEX].oneOf.2.access.oneOf.1","typeLabel":"null"}],"uniqueKey":"resources.items.[INDEX].oneOf.2.access","typeLabel":"enum\u003cstring> | null"},"instructions":{"oneOf":[{"type":"string","description":"Per-attachment guidance for the agent on how to use this store. Rendered into the memory section of the system prompt. Max 4096 chars.","uniqueKey":"resources.items.[INDEX].oneOf.2.instructions.oneOf.0","typeLabel":"string"},{"type":"null","description":"Per-attachment guidance for the agent on how to use this store. Rendered into the memory section of the system prompt. Max 4096 chars.","uniqueKey":"resources.items.[INDEX].oneOf.2.instructions.oneOf.1","typeLabel":"null"}],"uniqueKey":"resources.items.[INDEX].oneOf.2.instructions","typeLabel":"string | null"}},"uniqueKey":"resources.items.[INDEX].oneOf.2","typeLabel":"object"}],"uniqueKey":"resources.items.[INDEX]","typeLabel":"object"},"description":"What to mount in the session, at most 100 entries: `file` resources (an uploaded file, mounted below `/mnt/session/uploads/`) and `memory_store` resources (mounted at `/mnt/memory/\u003cstore name>`). A `github_repository` resource is refused with 400 `unsupported_session_option`.","uniqueKey":"resources","typeLabel":"object[]"},"title":{"oneOf":[{"type":"string","description":"Human-readable title. Omitted or null leaves the session untitled; an untitled session may be titled automatically after its first answered turn.","uniqueKey":"title.oneOf.0","typeLabel":"string"},{"type":"null","description":"Human-readable title. Omitted or null leaves the session untitled; an untitled session may be titled automatically after its first answered turn.","uniqueKey":"title.oneOf.1","typeLabel":"null"}],"uniqueKey":"title","typeLabel":"string | null"},"vault_ids":{"type":"array","items":{"type":"string","uniqueKey":"vault_ids.items.[INDEX]","typeLabel":"string"},"description":"Vaults (`vlt_` IDs) whose credentials the session's agent uses, at most 50, distinct, first vault first. Each must exist in the workspace and not be archived.","uniqueKey":"vault_ids","typeLabel":"string[]"}},"required":["agent","environment_id"],"uniqueKey":"","typeLabel":"object"},"example":{"agent":{"type":"agent","id":"aprf_agray4o575yzni6unfhge6obhm","version":3},"environment_id":"env_agray4o575yzvcl662kzmeilr4","title":"Q3 revenue report","metadata":{"ticket":"OPS-1423"},"resources":[{"type":"file","file_id":"file_agray4o575y2dgcykoagz7tdfy","mount_path":"/data/q3.csv"}],"vault_ids":["vlt_agray4o575yz5pfpymedzfznb4"]},"examples":{"Example":{"title":"Example","value":{"agent":{"type":"agent","id":"aprf_agray4o575yzni6unfhge6obhm","version":3},"environment_id":"env_agray4o575yzvcl662kzmeilr4","title":"Q3 revenue report","metadata":{"ticket":"OPS-1423"},"resources":[{"type":"file","file_id":"file_agray4o575y2dgcykoagz7tdfy","mount_path":"/data/q3.csv"}],"vault_ids":["vlt_agray4o575yz5pfpymedzfznb4"]}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"e8397eec-33e5-40f3-9fb2-4ebac63110d6":{"description":"The created session, idle and with no events yet.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"ID of the session (`ses_` followed by 26 lowercase base32 characters).","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"agent":{"type":"object","properties":{"id":{"type":"string","description":"ID of the agent (`aprf_` ID).","isRequired":true,"uniqueKey":"agent.id","typeLabel":"string"},"description":{"oneOf":[{"type":"string","description":"The agent's description; null when it has none.","isRequired":true,"uniqueKey":"agent.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"The agent's description; null when it has none.","isRequired":true,"uniqueKey":"agent.description.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"agent.description","typeLabel":"string | null"},"execution_identity":{"oneOf":[{"type":"object","description":"Always `{\"type\": \"service_account\"}` on BMA.","required":["role_arn","type"],"properties":{"role_arn":{"type":"string","description":"The IAM role's ARN.","isRequired":true,"uniqueKey":"agent.execution_identity.oneOf.0.role_arn","typeLabel":"string"},"type":{"type":"string","const":"aws_role","description":"Always `aws_role`.","isRequired":true,"uniqueKey":"agent.execution_identity.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.execution_identity.oneOf.0","typeLabel":"object"},{"type":"object","description":"Always `{\"type\": \"service_account\"}` on BMA.","required":["type"],"properties":{"type":{"type":"string","const":"service_account","description":"Always `service_account`.","isRequired":true,"uniqueKey":"agent.execution_identity.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.execution_identity.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"agent.execution_identity","typeLabel":"object"},"mcp_servers":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"The MCP server's name, which an `mcp_toolset` refers to by `mcp_server_name`.","isRequired":true,"uniqueKey":"agent.mcp_servers.items.[INDEX].name","typeLabel":"string"},"type":{"type":"string","const":"url","description":"Always `url`.","isRequired":true,"uniqueKey":"agent.mcp_servers.items.[INDEX].type","typeLabel":"string"},"url":{"type":"string","description":"The MCP server's URL.","isRequired":true,"uniqueKey":"agent.mcp_servers.items.[INDEX].url","typeLabel":"string"}},"required":["name","type","url"],"description":"URL-based MCP server connection as returned in API responses.","uniqueKey":"agent.mcp_servers.items.[INDEX]","typeLabel":"object"},"description":"The agent's MCP servers, or `[]` when the session cleared them.","isRequired":true,"uniqueKey":"agent.mcp_servers","typeLabel":"object[]"},"model":{"type":"object","properties":{"id":{"type":"string","description":"The model that will power your agent.\n\nSee [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.","isRequired":true,"uniqueKey":"agent.model.id","typeLabel":"string"},"effort":{"oneOf":[{"type":"object","description":"The effort level the agent was saved with as `{\"type\": \u003clevel>}`; null when the agent names none.","required":["type"],"properties":{"type":{"type":"string","const":"low","description":"Always `low`.","isRequired":true,"uniqueKey":"agent.model.effort.oneOf.0.type","typeLabel":"string"}},"uniqueKey":"agent.model.effort.oneOf.0","typeLabel":"object"},{"type":"object","description":"The effort level the agent was saved with as `{\"type\": \u003clevel>}`; null when the agent names none.","required":["type"],"properties":{"type":{"type":"string","const":"medium","description":"Always `medium`.","isRequired":true,"uniqueKey":"agent.model.effort.oneOf.1.type","typeLabel":"string"}},"uniqueKey":"agent.model.effort.oneOf.1","typeLabel":"object"},{"type":"object","description":"The effort level the agent was saved with as `{\"type\": \u003clevel>}`; null when the agent names none.","required":["type"],"properties":{"type":{"type":"string","const":"high","description":"Always `high`.","isRequired":true,"uniqueKey":"agent.model.effort.oneOf.2.type","typeLabel":"string"}},"uniqueKey":"agent.model.effort.oneOf.2","typeLabel":"object"},{"type":"object","description":"The effort level the agent was saved with as `{\"type\": \u003clevel>}`; null when the agent names none.","required":["type"],"properties":{"type":{"type":"string","const":"xhigh","description":"Always `xhigh`.","isRequired":true,"uniqueKey":"agent.model.effort.oneOf.3.type","typeLabel":"string"}},"uniqueKey":"agent.model.effort.oneOf.3","typeLabel":"object"},{"type":"object","description":"The effort level the agent was saved with as `{\"type\": \u003clevel>}`; null when the agent names none.","required":["type"],"properties":{"type":{"type":"string","const":"max","description":"Always `max`.","isRequired":true,"uniqueKey":"agent.model.effort.oneOf.4.type","typeLabel":"string"}},"uniqueKey":"agent.model.effort.oneOf.4","typeLabel":"object"}],"uniqueKey":"agent.model.effort","typeLabel":"object"},"inference_geo":{"type":"string","description":"**Not supported on BMA:** Returned as null.\n\nGeographic region for model inference. When unset, requests fall through to the workspace's default_inference_geo.","x-bma-unsupported":"Returned as null.","uniqueKey":"agent.model.inference_geo","typeLabel":"string"},"speed":{"type":"string","enum":["standard","fast"],"description":"**Not supported on BMA:** Returned as null; requests run at standard speed.\n\nInference speed mode. `fast` provides significantly faster output token generation at premium pricing. Defaults to `standard`. Not all models support `fast`; invalid combinations are rejected at create time.","x-bma-unsupported":"Returned as null; requests run at standard speed.","uniqueKey":"agent.model.speed","typeLabel":"enum\u003cstring>"}},"required":["id"],"description":"The model the session uses: the agent's, or the session's `agent_with_overrides.model`.","isRequired":true,"uniqueKey":"agent.model","typeLabel":"object"},"multiagent":{"oneOf":[{"type":"object","description":"Always null on BMA, which runs single-agent sessions.","required":["agents","type"],"properties":{"agents":{"type":"array","items":{"oneOf":[{"type":"object","description":"Resolved `agent` definition for a single `session_thread`. Snapshot of the agent at thread creation time. The multiagent roster is not repeated here; read it from `Session.agent`.","required":["id","description","execution_identity","mcp_servers","model","name","skills","system","tools","type","version"],"properties":{"id":{"type":"string","description":"ID of the agent the thread runs.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.id","typeLabel":"string"},"description":{"oneOf":[{"type":"string","description":"The agent's description; null when it has none.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"The agent's description; null when it has none.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.description.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.description","typeLabel":"string | null"},"execution_identity":{"oneOf":[{"type":"object","description":"Execution principal snapshotted from the agent at session creation. Always present; `{\"type\": \"service_account\"}` when runs carry no customer-named principal.","required":["role_arn","type"],"properties":{"role_arn":{"type":"string","description":"The IAM role's ARN.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.execution_identity.oneOf.0.role_arn","typeLabel":"string"},"type":{"type":"string","const":"aws_role","description":"Always `aws_role`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.execution_identity.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.execution_identity.oneOf.0","typeLabel":"object"},{"type":"object","description":"Execution principal snapshotted from the agent at session creation. Always present; `{\"type\": \"service_account\"}` when runs carry no customer-named principal.","required":["type"],"properties":{"type":{"type":"string","const":"service_account","description":"Always `service_account`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.execution_identity.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.execution_identity.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.execution_identity","typeLabel":"object"},"mcp_servers":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"The MCP server's name, which an `mcp_toolset` refers to by `mcp_server_name`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.mcp_servers.items.[INDEX].name","typeLabel":"string"},"type":{"type":"string","const":"url","description":"Always `url`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.mcp_servers.items.[INDEX].type","typeLabel":"string"},"url":{"type":"string","description":"The MCP server's URL.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.mcp_servers.items.[INDEX].url","typeLabel":"string"}},"required":["name","type","url"],"description":"URL-based MCP server connection as returned in API responses.","uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.mcp_servers.items.[INDEX]","typeLabel":"object"},"description":"The agent's MCP servers.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.mcp_servers","typeLabel":"object[]"},"model":{"type":"object","properties":{"id":{"type":"string","description":"The model that will power your agent.\n\nSee [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.model.id","typeLabel":"string"},"effort":{"oneOf":[{"type":"object","description":"The effort level the agent was saved with as `{\"type\": \u003clevel>}`; null when the agent names none.","required":["type"],"properties":{"type":{"type":"string","const":"low","description":"Always `low`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.model.effort.oneOf.0.type","typeLabel":"string"}},"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.model.effort.oneOf.0","typeLabel":"object"},{"type":"object","description":"The effort level the agent was saved with as `{\"type\": \u003clevel>}`; null when the agent names none.","required":["type"],"properties":{"type":{"type":"string","const":"medium","description":"Always `medium`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.model.effort.oneOf.1.type","typeLabel":"string"}},"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.model.effort.oneOf.1","typeLabel":"object"},{"type":"object","description":"The effort level the agent was saved with as `{\"type\": \u003clevel>}`; null when the agent names none.","required":["type"],"properties":{"type":{"type":"string","const":"high","description":"Always `high`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.model.effort.oneOf.2.type","typeLabel":"string"}},"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.model.effort.oneOf.2","typeLabel":"object"},{"type":"object","description":"The effort level the agent was saved with as `{\"type\": \u003clevel>}`; null when the agent names none.","required":["type"],"properties":{"type":{"type":"string","const":"xhigh","description":"Always `xhigh`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.model.effort.oneOf.3.type","typeLabel":"string"}},"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.model.effort.oneOf.3","typeLabel":"object"},{"type":"object","description":"The effort level the agent was saved with as `{\"type\": \u003clevel>}`; null when the agent names none.","required":["type"],"properties":{"type":{"type":"string","const":"max","description":"Always `max`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.model.effort.oneOf.4.type","typeLabel":"string"}},"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.model.effort.oneOf.4","typeLabel":"object"}],"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.model.effort","typeLabel":"object"},"inference_geo":{"type":"string","description":"**Not supported on BMA:** Returned as null.\n\nGeographic region for model inference. When unset, requests fall through to the workspace's default_inference_geo.","x-bma-unsupported":"Returned as null.","uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.model.inference_geo","typeLabel":"string"},"speed":{"type":"string","enum":["standard","fast"],"description":"**Not supported on BMA:** Returned as null; requests run at standard speed.\n\nInference speed mode. `fast` provides significantly faster output token generation at premium pricing. Defaults to `standard`. Not all models support `fast`; invalid combinations are rejected at create time.","x-bma-unsupported":"Returned as null; requests run at standard speed.","uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.model.speed","typeLabel":"enum\u003cstring>"}},"required":["id"],"description":"Model identifier and configuration.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.model","typeLabel":"object"},"name":{"type":"string","description":"The agent's name.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.name","typeLabel":"string"},"skills":{"type":"array","items":{"oneOf":[{"type":"object","description":"A resolved Anthropic-managed skill.","required":["skill_id","type","version"],"properties":{"skill_id":{"type":"string","description":"ID of the Anthropic skill. BMA hosts no Anthropic skills, so sessions never contain one.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.skills.items.[INDEX].oneOf.0.skill_id","typeLabel":"string"},"type":{"type":"string","const":"anthropic","description":"Always `anthropic`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.skills.items.[INDEX].oneOf.0.type","typeLabel":"string"},"version":{"type":"string","description":"The skill version.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.skills.items.[INDEX].oneOf.0.version","typeLabel":"string"}},"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.skills.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"A resolved user-created custom skill.","required":["skill_id","type","version"],"properties":{"skill_id":{"type":"string","description":"ID of the skill (`skl_` ID).","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.skills.items.[INDEX].oneOf.1.skill_id","typeLabel":"string"},"type":{"type":"string","const":"custom","description":"Always `custom`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.skills.items.[INDEX].oneOf.1.type","typeLabel":"string"},"version":{"type":"string","description":"The skill version the session uses (`skr_` ID), resolved when the session was created.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.skills.items.[INDEX].oneOf.1.version","typeLabel":"string"}},"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.skills.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.skills.items.[INDEX]","typeLabel":"object"},"description":"The agent's skills with their versions.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.skills","typeLabel":"object[]"},"system":{"oneOf":[{"type":"string","description":"The agent's system prompt; null when there is none.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.system.oneOf.0","typeLabel":"string"},{"type":"null","description":"The agent's system prompt; null when there is none.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.system.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.system","typeLabel":"string | null"},"tools":{"type":"array","items":{"oneOf":[{"type":"object","description":"The built-in agent toolset (bash, file and web tools) with its per-tool settings.","required":["configs","default_config","type"],"properties":{"configs":{"type":"array","items":{"oneOf":[{"type":"object","description":"Configuration for a specific agent tool.","required":["enabled","name","permission_policy","type"],"properties":{"enabled":{"type":"boolean","description":"Whether the agent may use the tool.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0.enabled","typeLabel":"boolean"},"name":{"type":"string","const":"bash","description":"Always `bash`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0.name","typeLabel":"string"},"permission_policy":{"oneOf":[{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_allow","description":"Always `always_allow`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0.permission_policy.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0.permission_policy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_ask","description":"Always `always_ask`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0.permission_policy.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0.permission_policy.oneOf.1","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"auto","description":"Always `auto`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0.permission_policy.oneOf.2.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0.permission_policy.oneOf.2","typeLabel":"object"}],"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0.permission_policy","typeLabel":"object"},"type":{"type":"string","const":"bash","description":"Always `bash`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0.type","typeLabel":"string"}},"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"Configuration for a specific agent tool.","required":["enabled","name","permission_policy","type"],"properties":{"enabled":{"type":"boolean","description":"Whether the agent may use the tool.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1.enabled","typeLabel":"boolean"},"name":{"type":"string","const":"edit","description":"Always `edit`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1.name","typeLabel":"string"},"permission_policy":{"oneOf":[{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_allow","description":"Always `always_allow`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1.permission_policy.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1.permission_policy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_ask","description":"Always `always_ask`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1.permission_policy.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1.permission_policy.oneOf.1","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"auto","description":"Always `auto`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1.permission_policy.oneOf.2.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1.permission_policy.oneOf.2","typeLabel":"object"}],"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1.permission_policy","typeLabel":"object"},"type":{"type":"string","const":"edit","description":"Always `edit`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1.type","typeLabel":"string"}},"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1","typeLabel":"object"},{"type":"object","description":"Configuration for a specific agent tool.","required":["enabled","name","permission_policy","type"],"properties":{"enabled":{"type":"boolean","description":"Whether the agent may use the tool.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2.enabled","typeLabel":"boolean"},"name":{"type":"string","const":"read","description":"Always `read`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2.name","typeLabel":"string"},"permission_policy":{"oneOf":[{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_allow","description":"Always `always_allow`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2.permission_policy.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2.permission_policy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_ask","description":"Always `always_ask`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2.permission_policy.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2.permission_policy.oneOf.1","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"auto","description":"Always `auto`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2.permission_policy.oneOf.2.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2.permission_policy.oneOf.2","typeLabel":"object"}],"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2.permission_policy","typeLabel":"object"},"type":{"type":"string","const":"read","description":"Always `read`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2.type","typeLabel":"string"}},"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2","typeLabel":"object"},{"type":"object","description":"Configuration for a specific agent tool.","required":["enabled","name","permission_policy","type"],"properties":{"enabled":{"type":"boolean","description":"Whether the agent may use the tool.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3.enabled","typeLabel":"boolean"},"name":{"type":"string","const":"write","description":"Always `write`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3.name","typeLabel":"string"},"permission_policy":{"oneOf":[{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_allow","description":"Always `always_allow`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3.permission_policy.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3.permission_policy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_ask","description":"Always `always_ask`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3.permission_policy.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3.permission_policy.oneOf.1","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"auto","description":"Always `auto`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3.permission_policy.oneOf.2.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3.permission_policy.oneOf.2","typeLabel":"object"}],"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3.permission_policy","typeLabel":"object"},"type":{"type":"string","const":"write","description":"Always `write`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3.type","typeLabel":"string"}},"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3","typeLabel":"object"},{"type":"object","description":"Configuration for a specific agent tool.","required":["enabled","name","permission_policy","type"],"properties":{"enabled":{"type":"boolean","description":"Whether the agent may use the tool.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4.enabled","typeLabel":"boolean"},"name":{"type":"string","const":"glob","description":"Always `glob`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4.name","typeLabel":"string"},"permission_policy":{"oneOf":[{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_allow","description":"Always `always_allow`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4.permission_policy.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4.permission_policy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_ask","description":"Always `always_ask`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4.permission_policy.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4.permission_policy.oneOf.1","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"auto","description":"Always `auto`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4.permission_policy.oneOf.2.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4.permission_policy.oneOf.2","typeLabel":"object"}],"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4.permission_policy","typeLabel":"object"},"type":{"type":"string","const":"glob","description":"Always `glob`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4.type","typeLabel":"string"}},"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4","typeLabel":"object"},{"type":"object","description":"Configuration for a specific agent tool.","required":["enabled","name","permission_policy","type"],"properties":{"enabled":{"type":"boolean","description":"Whether the agent may use the tool.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5.enabled","typeLabel":"boolean"},"name":{"type":"string","const":"grep","description":"Always `grep`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5.name","typeLabel":"string"},"permission_policy":{"oneOf":[{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_allow","description":"Always `always_allow`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5.permission_policy.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5.permission_policy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_ask","description":"Always `always_ask`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5.permission_policy.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5.permission_policy.oneOf.1","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"auto","description":"Always `auto`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5.permission_policy.oneOf.2.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5.permission_policy.oneOf.2","typeLabel":"object"}],"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5.permission_policy","typeLabel":"object"},"type":{"type":"string","const":"grep","description":"Always `grep`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5.type","typeLabel":"string"}},"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5","typeLabel":"object"},{"type":"object","description":"Configuration for a specific agent tool.","required":["enabled","name","permission_policy","type","url_sources"],"properties":{"enabled":{"type":"boolean","description":"Whether the agent may use the tool.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.enabled","typeLabel":"boolean"},"name":{"type":"string","const":"web_fetch","description":"Always `web_fetch`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.name","typeLabel":"string"},"permission_policy":{"oneOf":[{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_allow","description":"Always `always_allow`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.permission_policy.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.permission_policy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_ask","description":"Always `always_ask`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.permission_policy.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.permission_policy.oneOf.1","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"auto","description":"Always `auto`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.permission_policy.oneOf.2.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.permission_policy.oneOf.2","typeLabel":"object"}],"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.permission_policy","typeLabel":"object"},"type":{"type":"string","const":"web_fetch","description":"Always `web_fetch`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.type","typeLabel":"string"},"url_sources":{"oneOf":[{"type":"object","description":"**Not supported on BMA:** Always null; BMA's `web_fetch` may fetch a URL from any source.\n\nWhich sources contribute URLs the tool may fetch, always in the object form. Null when not set, which allows every source.","required":["client_tool_results","server_tool_results","user_input"],"x-bma-unsupported":"Always null; BMA's `web_fetch` may fetch a URL from any source.","properties":{"client_tool_results":{"oneOf":[{"type":"object","description":"Which custom tools' results contribute URLs that may be fetched. Null when not set, which allows every custom tool's results.","required":["type"],"properties":{"type":{"type":"string","const":"all","description":"Always `all`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.0","typeLabel":"object"},{"type":"object","description":"Which custom tools' results contribute URLs that may be fetched. Null when not set, which allows every custom tool's results.","required":["type"],"properties":{"type":{"type":"string","const":"none","description":"Always `none`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.1","typeLabel":"object"},{"type":"object","description":"Which custom tools' results contribute URLs that may be fetched. Null when not set, which allows every custom tool's results.","required":["tools","type"],"properties":{"tools":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Name of the tool. Compared exactly, so upper and lower case letters are different.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.2.tools.items.[INDEX].name","typeLabel":"string"},"type":{"type":"string","const":"tool_reference","description":"Must be \"tool_reference\".","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.2.tools.items.[INDEX].type","typeLabel":"string"}},"required":["name","type"],"description":"Names one tool in an only or except list.","uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.2.tools.items.[INDEX]","typeLabel":"object"},"description":"The tools whose results contribute. Between 1 and 128 entries, each with a different name. An empty list is rejected; use \"none\" to allow no tool's results.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.2.tools","typeLabel":"object[]"},"type":{"type":"string","const":"only","description":"Always `only`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.2.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.2","typeLabel":"object"},{"type":"object","description":"Which custom tools' results contribute URLs that may be fetched. Null when not set, which allows every custom tool's results.","required":["tools","type"],"properties":{"tools":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Name of the tool. Compared exactly, so upper and lower case letters are different.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.3.tools.items.[INDEX].name","typeLabel":"string"},"type":{"type":"string","const":"tool_reference","description":"Must be \"tool_reference\".","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.3.tools.items.[INDEX].type","typeLabel":"string"}},"required":["name","type"],"description":"Names one tool in an only or except list.","uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.3.tools.items.[INDEX]","typeLabel":"object"},"description":"The tools whose results do not contribute. Between 1 and 128 entries, each with a different name. An empty list is rejected; use \"all\" to leave out no tool's results.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.3.tools","typeLabel":"object[]"},"type":{"type":"string","const":"except","description":"Always `except`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.3.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.3","typeLabel":"object"},{"type":"null","description":"Which custom tools' results contribute URLs that may be fetched. Null when not set, which allows every custom tool's results.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.4","typeLabel":"null"}],"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results","typeLabel":"object · object · object · object · null"},"server_tool_results":{"oneOf":[{"type":"object","description":"Which of the web_search and web_fetch tools' results contribute URLs that may be fetched. Null when not set, which allows both.","required":["type"],"properties":{"type":{"type":"string","const":"all","description":"Always `all`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.0","typeLabel":"object"},{"type":"object","description":"Which of the web_search and web_fetch tools' results contribute URLs that may be fetched. Null when not set, which allows both.","required":["type"],"properties":{"type":{"type":"string","const":"none","description":"Always `none`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.1","typeLabel":"object"},{"type":"object","description":"Which of the web_search and web_fetch tools' results contribute URLs that may be fetched. Null when not set, which allows both.","required":["tools","type"],"properties":{"tools":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Name of the tool. Compared exactly, so upper and lower case letters are different.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.2.tools.items.[INDEX].name","typeLabel":"string"},"type":{"type":"string","const":"tool_reference","description":"Must be \"tool_reference\".","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.2.tools.items.[INDEX].type","typeLabel":"string"}},"required":["name","type"],"description":"Names one tool in an only or except list.","uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.2.tools.items.[INDEX]","typeLabel":"object"},"description":"The tools whose results contribute. Between 1 and 128 entries, each with a different name. An empty list is rejected; use \"none\" to allow no tool's results.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.2.tools","typeLabel":"object[]"},"type":{"type":"string","const":"only","description":"Always `only`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.2.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.2","typeLabel":"object"},{"type":"object","description":"Which of the web_search and web_fetch tools' results contribute URLs that may be fetched. Null when not set, which allows both.","required":["tools","type"],"properties":{"tools":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Name of the tool. Compared exactly, so upper and lower case letters are different.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.3.tools.items.[INDEX].name","typeLabel":"string"},"type":{"type":"string","const":"tool_reference","description":"Must be \"tool_reference\".","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.3.tools.items.[INDEX].type","typeLabel":"string"}},"required":["name","type"],"description":"Names one tool in an only or except list.","uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.3.tools.items.[INDEX]","typeLabel":"object"},"description":"The tools whose results do not contribute. Between 1 and 128 entries, each with a different name. An empty list is rejected; use \"all\" to leave out no tool's results.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.3.tools","typeLabel":"object[]"},"type":{"type":"string","const":"except","description":"Always `except`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.3.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.3","typeLabel":"object"},{"type":"null","description":"Which of the web_search and web_fetch tools' results contribute URLs that may be fetched. Null when not set, which allows both.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.4","typeLabel":"null"}],"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results","typeLabel":"object · object · object · object · null"},"user_input":{"oneOf":[{"type":"object","description":"Whether URLs in the text of user messages may be fetched. Null when not set, which allows them.","required":["type"],"properties":{"type":{"type":"string","const":"all","description":"Always `all`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.user_input.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.user_input.oneOf.0","typeLabel":"object"},{"type":"object","description":"Whether URLs in the text of user messages may be fetched. Null when not set, which allows them.","required":["type"],"properties":{"type":{"type":"string","const":"none","description":"Always `none`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.user_input.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.user_input.oneOf.1","typeLabel":"object"},{"type":"null","description":"Whether URLs in the text of user messages may be fetched. Null when not set, which allows them.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.user_input.oneOf.2","typeLabel":"null"}],"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.user_input","typeLabel":"object · object · null"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0","typeLabel":"object"},{"type":"null","description":"**Not supported on BMA:** Always null; BMA's `web_fetch` may fetch a URL from any source.\n\nWhich sources contribute URLs the tool may fetch, always in the object form. Null when not set, which allows every source.","x-bma-unsupported":"Always null; BMA's `web_fetch` may fetch a URL from any source.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources","typeLabel":"object | null"},"allowed_domains":{"type":"array","items":{"type":"string","uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.allowed_domains.items.[INDEX]","typeLabel":"string"},"x-bma-unsupported":"Never returned; BMA does not restrict the domains `web_fetch` fetches from.","description":"**Not supported on BMA:** Never returned; BMA does not restrict the domains `web_fetch` fetches from.","uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.allowed_domains","typeLabel":"string[]"},"blocked_domains":{"type":"array","items":{"type":"string","uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.blocked_domains.items.[INDEX]","typeLabel":"string"},"x-bma-unsupported":"Never returned; BMA does not restrict the domains `web_fetch` fetches from.","description":"**Not supported on BMA:** Never returned; BMA does not restrict the domains `web_fetch` fetches from.","uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.blocked_domains","typeLabel":"string[]"},"max_content_tokens":{"oneOf":[{"type":"number","x-bma-unsupported":"Never returned; BMA returns fetched content whole.","description":"**Not supported on BMA:** Never returned; BMA returns fetched content whole.","uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.max_content_tokens.oneOf.0","typeLabel":"number"},{"type":"null","x-bma-unsupported":"Never returned; BMA returns fetched content whole.","description":"**Not supported on BMA:** Never returned; BMA returns fetched content whole.","uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.max_content_tokens.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.max_content_tokens","typeLabel":"number | null"}},"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6","typeLabel":"object"},{"type":"object","description":"Configuration for a specific agent tool.","required":["enabled","name","permission_policy","type"],"properties":{"enabled":{"type":"boolean","description":"Whether the agent may use the tool.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.enabled","typeLabel":"boolean"},"name":{"type":"string","const":"web_search","description":"Always `web_search`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.name","typeLabel":"string"},"permission_policy":{"oneOf":[{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_allow","description":"Always `always_allow`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.permission_policy.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.permission_policy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_ask","description":"Always `always_ask`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.permission_policy.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.permission_policy.oneOf.1","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"auto","description":"Always `auto`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.permission_policy.oneOf.2.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.permission_policy.oneOf.2","typeLabel":"object"}],"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.permission_policy","typeLabel":"object"},"type":{"type":"string","const":"web_search","description":"Always `web_search`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.type","typeLabel":"string"},"allowed_domains":{"type":"array","items":{"type":"string","uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.allowed_domains.items.[INDEX]","typeLabel":"string"},"description":"Domains search results may come from; when set, others are left out.","uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.allowed_domains","typeLabel":"string[]"},"blocked_domains":{"type":"array","items":{"type":"string","uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.blocked_domains.items.[INDEX]","typeLabel":"string"},"description":"Domains search results may not come from.","uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.blocked_domains","typeLabel":"string[]"},"user_location":{"oneOf":[{"type":"object","description":"Approximate user location for search result localization.","required":["type"],"properties":{"type":{"type":"string","const":"approximate","description":"Location precision. Only \"approximate\" is supported.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.type","typeLabel":"string"},"city":{"oneOf":[{"type":"string","description":"City name.","uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.city.oneOf.0","typeLabel":"string"},{"type":"null","description":"City name.","uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.city","typeLabel":"string | null"},"country":{"oneOf":[{"type":"string","description":"Two-letter ISO 3166-1 country code, uppercase.","uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.country.oneOf.0","typeLabel":"string"},{"type":"null","description":"Two-letter ISO 3166-1 country code, uppercase.","uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.country","typeLabel":"string | null"},"region":{"oneOf":[{"type":"string","description":"Region or state name.","uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.region.oneOf.0","typeLabel":"string"},{"type":"null","description":"Region or state name.","uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.region.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.region","typeLabel":"string | null"},"timezone":{"oneOf":[{"type":"string","description":"IANA timezone identifier, e.g. \"America/Los_Angeles\".","uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.timezone.oneOf.0","typeLabel":"string"},{"type":"null","description":"IANA timezone identifier, e.g. \"America/Los_Angeles\".","uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.timezone.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.timezone","typeLabel":"string | null"}},"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0","typeLabel":"object"},{"type":"null","description":"Approximate user location for search result localization.","uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location","typeLabel":"object | null"}},"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7","typeLabel":"object"}],"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs.items.[INDEX]","typeLabel":"object"},"description":"Per-tool settings that differ from `default_config`, one entry per named tool.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.configs","typeLabel":"object[]"},"default_config":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the toolset's tools are available unless a `configs` entry says otherwise.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.default_config.enabled","typeLabel":"boolean"},"permission_policy":{"oneOf":[{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_allow","description":"Always `always_allow`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.default_config.permission_policy.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.default_config.permission_policy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_ask","description":"Always `always_ask`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.default_config.permission_policy.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.default_config.permission_policy.oneOf.1","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"auto","description":"Always `auto`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.default_config.permission_policy.oneOf.2.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.default_config.permission_policy.oneOf.2","typeLabel":"object"}],"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.default_config.permission_policy","typeLabel":"object"}},"required":["enabled","permission_policy"],"description":"Resolved default configuration for agent tools.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.default_config","typeLabel":"object"},"type":{"type":"string","const":"agent_toolset_20260401","description":"Always `agent_toolset_20260401`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0.type","typeLabel":"string"}},"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"The tools of one MCP server of the agent, with per-tool settings.","required":["configs","default_config","mcp_server_name","type"],"properties":{"configs":{"type":"array","items":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the agent may use the tool.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.1.configs.items.[INDEX].enabled","typeLabel":"boolean"},"name":{"type":"string","description":"Name of the MCP tool, as the server lists it.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.1.configs.items.[INDEX].name","typeLabel":"string"},"permission_policy":{"oneOf":[{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_allow","description":"Always `always_allow`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.1.configs.items.[INDEX].permission_policy.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.1.configs.items.[INDEX].permission_policy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_ask","description":"Always `always_ask`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.1.configs.items.[INDEX].permission_policy.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.1.configs.items.[INDEX].permission_policy.oneOf.1","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"auto","description":"Always `auto`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.1.configs.items.[INDEX].permission_policy.oneOf.2.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.1.configs.items.[INDEX].permission_policy.oneOf.2","typeLabel":"object"}],"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.1.configs.items.[INDEX].permission_policy","typeLabel":"object"}},"required":["enabled","name","permission_policy"],"description":"Resolved configuration for a specific MCP tool.","uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.1.configs.items.[INDEX]","typeLabel":"object"},"description":"Per-tool settings that differ from `default_config`, one entry per named tool.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.1.configs","typeLabel":"object[]"},"default_config":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the server's tools are available unless a `configs` entry says otherwise.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.1.default_config.enabled","typeLabel":"boolean"},"permission_policy":{"oneOf":[{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_allow","description":"Always `always_allow`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.1.default_config.permission_policy.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.1.default_config.permission_policy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_ask","description":"Always `always_ask`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.1.default_config.permission_policy.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.1.default_config.permission_policy.oneOf.1","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"auto","description":"Always `auto`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.1.default_config.permission_policy.oneOf.2.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.1.default_config.permission_policy.oneOf.2","typeLabel":"object"}],"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.1.default_config.permission_policy","typeLabel":"object"}},"required":["enabled","permission_policy"],"description":"Resolved default configuration for all tools from an MCP server.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.1.default_config","typeLabel":"object"},"mcp_server_name":{"type":"string","description":"Name of the agent's MCP server (`mcp_servers[].name`) whose tools this toolset exposes.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.1.mcp_server_name","typeLabel":"string"},"type":{"type":"string","const":"mcp_toolset","description":"Always `mcp_toolset`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.1.type","typeLabel":"string"}},"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.1","typeLabel":"object"},{"type":"object","description":"A custom tool as returned in API responses.","required":["description","input_schema","name","type"],"properties":{"description":{"type":"string","description":"What the tool does, shown to the model.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.2.description","typeLabel":"string"},"input_schema":{"type":"object","properties":{"type":{"type":"string","const":"object","description":"Always `object`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.2.input_schema.type","typeLabel":"string"},"properties":{"oneOf":[{"type":"object","description":"JSON Schema of each input member, keyed by member name.","additionalProperties":{"oneOf":[{}],"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.2.input_schema.properties.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.2.input_schema.properties.oneOf.0","typeLabel":"object"},{"type":"null","description":"JSON Schema of each input member, keyed by member name.","uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.2.input_schema.properties.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.2.input_schema.properties","typeLabel":"object | null"},"required":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.2.input_schema.required.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"Names of the input members the model must provide.","uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.2.input_schema.required.oneOf.0","typeLabel":"string[]"},{"type":"null","description":"Names of the input members the model must provide.","uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.2.input_schema.required.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.2.input_schema.required","typeLabel":"string[] | null"}},"required":["type"],"additionalProperties":{"oneOf":[{}],"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.2.input_schema.additionalProperties","typeLabel":"any"},"description":"JSON Schema for custom tool input parameters.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.2.input_schema","typeLabel":"object"},"name":{"type":"string","description":"Name of the tool; the agent's calls name it in `agent.custom_tool_use`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.2.name","typeLabel":"string"},"type":{"type":"string","const":"custom","description":"Always `custom`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.2.type","typeLabel":"string"}},"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX].oneOf.2","typeLabel":"object"}],"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools.items.[INDEX]","typeLabel":"object"},"description":"The agent's tools.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.tools","typeLabel":"object[]"},"type":{"description":"Always `agent`.","type":"string","const":"agent","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.type","typeLabel":"string"},"version":{"type":"number","description":"The agent version the thread runs.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0.version","typeLabel":"number"}},"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"Platform advisor roster entry: a model the session's primary thread may consult mid-turn.","required":["model","type"],"properties":{"model":{"type":"string","description":"The advisor model id.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.1.model","typeLabel":"string"},"type":{"type":"string","const":"advisor","description":"Always `advisor`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.1.type","typeLabel":"string"}},"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"agent.multiagent.oneOf.0.agents.items.[INDEX]","typeLabel":"object"},"description":"Full `agent` definitions the coordinator may spawn as session threads.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.agents","typeLabel":"object[]"},"type":{"type":"string","const":"coordinator","description":"Always `coordinator`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.0","typeLabel":"object"},{"type":"object","description":"Always null on BMA, which runs single-agent sessions.","required":["advisor","subagents","type","workflows"],"properties":{"advisor":{"oneOf":[{"type":"object","description":"Whether the session's primary thread can consult an advisor model.","required":["model","type"],"properties":{"model":{"type":"string","description":"The advisor model id.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.advisor.oneOf.0.model","typeLabel":"string"},"type":{"type":"string","const":"enabled","description":"Always `enabled`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.advisor.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.advisor.oneOf.0","typeLabel":"object"},{"type":"object","description":"Whether the session's primary thread can consult an advisor model.","required":["type"],"properties":{"type":{"type":"string","const":"disabled","description":"Always `disabled`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.advisor.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.advisor.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.advisor","typeLabel":"object"},"subagents":{"oneOf":[{"type":"object","description":"Whether the agent can spawn session threads.","required":["inline_agents","predefined_agents","type"],"properties":{"inline_agents":{"oneOf":[{"type":"object","description":"Whether the agent can define inline agents, which are not saved, when it spawns session threads.","required":["type"],"properties":{"type":{"type":"string","const":"enabled","description":"Always `enabled`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.inline_agents.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.inline_agents.oneOf.0","typeLabel":"object"},{"type":"object","description":"Whether the agent can define inline agents, which are not saved, when it spawns session threads.","required":["type"],"properties":{"type":{"type":"string","const":"disabled","description":"Always `disabled`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.inline_agents.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.inline_agents.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.inline_agents","typeLabel":"object"},"predefined_agents":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"ID of the agent the thread runs.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].id","typeLabel":"string"},"description":{"oneOf":[{"type":"string","description":"The agent's description; null when it has none.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].description.oneOf.0","typeLabel":"string"},{"type":"null","description":"The agent's description; null when it has none.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].description.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].description","typeLabel":"string | null"},"execution_identity":{"oneOf":[{"type":"object","description":"Execution principal snapshotted from the agent at session creation. Always present; `{\"type\": \"service_account\"}` when runs carry no customer-named principal.","required":["role_arn","type"],"properties":{"role_arn":{"type":"string","description":"The IAM role's ARN.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].execution_identity.oneOf.0.role_arn","typeLabel":"string"},"type":{"type":"string","const":"aws_role","description":"Always `aws_role`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].execution_identity.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].execution_identity.oneOf.0","typeLabel":"object"},{"type":"object","description":"Execution principal snapshotted from the agent at session creation. Always present; `{\"type\": \"service_account\"}` when runs carry no customer-named principal.","required":["type"],"properties":{"type":{"type":"string","const":"service_account","description":"Always `service_account`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].execution_identity.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].execution_identity.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].execution_identity","typeLabel":"object"},"mcp_servers":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"The MCP server's name, which an `mcp_toolset` refers to by `mcp_server_name`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].mcp_servers.items.[INDEX].name","typeLabel":"string"},"type":{"type":"string","const":"url","description":"Always `url`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].mcp_servers.items.[INDEX].type","typeLabel":"string"},"url":{"type":"string","description":"The MCP server's URL.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].mcp_servers.items.[INDEX].url","typeLabel":"string"}},"required":["name","type","url"],"description":"URL-based MCP server connection as returned in API responses.","uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].mcp_servers.items.[INDEX]","typeLabel":"object"},"description":"The agent's MCP servers.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].mcp_servers","typeLabel":"object[]"},"model":{"type":"object","properties":{"id":{"type":"string","description":"The model that will power your agent.\n\nSee [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].model.id","typeLabel":"string"},"effort":{"oneOf":[{"type":"object","description":"The effort level the agent was saved with as `{\"type\": \u003clevel>}`; null when the agent names none.","required":["type"],"properties":{"type":{"type":"string","const":"low","description":"Always `low`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].model.effort.oneOf.0.type","typeLabel":"string"}},"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].model.effort.oneOf.0","typeLabel":"object"},{"type":"object","description":"The effort level the agent was saved with as `{\"type\": \u003clevel>}`; null when the agent names none.","required":["type"],"properties":{"type":{"type":"string","const":"medium","description":"Always `medium`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].model.effort.oneOf.1.type","typeLabel":"string"}},"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].model.effort.oneOf.1","typeLabel":"object"},{"type":"object","description":"The effort level the agent was saved with as `{\"type\": \u003clevel>}`; null when the agent names none.","required":["type"],"properties":{"type":{"type":"string","const":"high","description":"Always `high`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].model.effort.oneOf.2.type","typeLabel":"string"}},"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].model.effort.oneOf.2","typeLabel":"object"},{"type":"object","description":"The effort level the agent was saved with as `{\"type\": \u003clevel>}`; null when the agent names none.","required":["type"],"properties":{"type":{"type":"string","const":"xhigh","description":"Always `xhigh`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].model.effort.oneOf.3.type","typeLabel":"string"}},"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].model.effort.oneOf.3","typeLabel":"object"},{"type":"object","description":"The effort level the agent was saved with as `{\"type\": \u003clevel>}`; null when the agent names none.","required":["type"],"properties":{"type":{"type":"string","const":"max","description":"Always `max`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].model.effort.oneOf.4.type","typeLabel":"string"}},"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].model.effort.oneOf.4","typeLabel":"object"}],"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].model.effort","typeLabel":"object"},"inference_geo":{"type":"string","description":"**Not supported on BMA:** Returned as null.\n\nGeographic region for model inference. When unset, requests fall through to the workspace's default_inference_geo.","x-bma-unsupported":"Returned as null.","uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].model.inference_geo","typeLabel":"string"},"speed":{"type":"string","enum":["standard","fast"],"description":"**Not supported on BMA:** Returned as null; requests run at standard speed.\n\nInference speed mode. `fast` provides significantly faster output token generation at premium pricing. Defaults to `standard`. Not all models support `fast`; invalid combinations are rejected at create time.","x-bma-unsupported":"Returned as null; requests run at standard speed.","uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].model.speed","typeLabel":"enum\u003cstring>"}},"required":["id"],"description":"Model identifier and configuration.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].model","typeLabel":"object"},"name":{"type":"string","description":"The agent's name.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].name","typeLabel":"string"},"skills":{"type":"array","items":{"oneOf":[{"type":"object","description":"A resolved Anthropic-managed skill.","required":["skill_id","type","version"],"properties":{"skill_id":{"type":"string","description":"ID of the Anthropic skill. BMA hosts no Anthropic skills, so sessions never contain one.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].skills.items.[INDEX].oneOf.0.skill_id","typeLabel":"string"},"type":{"type":"string","const":"anthropic","description":"Always `anthropic`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].skills.items.[INDEX].oneOf.0.type","typeLabel":"string"},"version":{"type":"string","description":"The skill version.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].skills.items.[INDEX].oneOf.0.version","typeLabel":"string"}},"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].skills.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"A resolved user-created custom skill.","required":["skill_id","type","version"],"properties":{"skill_id":{"type":"string","description":"ID of the skill (`skl_` ID).","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].skills.items.[INDEX].oneOf.1.skill_id","typeLabel":"string"},"type":{"type":"string","const":"custom","description":"Always `custom`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].skills.items.[INDEX].oneOf.1.type","typeLabel":"string"},"version":{"type":"string","description":"The skill version the session uses (`skr_` ID), resolved when the session was created.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].skills.items.[INDEX].oneOf.1.version","typeLabel":"string"}},"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].skills.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].skills.items.[INDEX]","typeLabel":"object"},"description":"The agent's skills with their versions.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].skills","typeLabel":"object[]"},"system":{"oneOf":[{"type":"string","description":"The agent's system prompt; null when there is none.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].system.oneOf.0","typeLabel":"string"},{"type":"null","description":"The agent's system prompt; null when there is none.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].system.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].system","typeLabel":"string | null"},"tools":{"type":"array","items":{"oneOf":[{"type":"object","description":"The built-in agent toolset (bash, file and web tools) with its per-tool settings.","required":["configs","default_config","type"],"properties":{"configs":{"type":"array","items":{"oneOf":[{"type":"object","description":"Configuration for a specific agent tool.","required":["enabled","name","permission_policy","type"],"properties":{"enabled":{"type":"boolean","description":"Whether the agent may use the tool.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0.enabled","typeLabel":"boolean"},"name":{"type":"string","const":"bash","description":"Always `bash`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0.name","typeLabel":"string"},"permission_policy":{"oneOf":[{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_allow","description":"Always `always_allow`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0.permission_policy.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0.permission_policy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_ask","description":"Always `always_ask`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0.permission_policy.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0.permission_policy.oneOf.1","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"auto","description":"Always `auto`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0.permission_policy.oneOf.2.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0.permission_policy.oneOf.2","typeLabel":"object"}],"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0.permission_policy","typeLabel":"object"},"type":{"type":"string","const":"bash","description":"Always `bash`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0.type","typeLabel":"string"}},"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"Configuration for a specific agent tool.","required":["enabled","name","permission_policy","type"],"properties":{"enabled":{"type":"boolean","description":"Whether the agent may use the tool.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1.enabled","typeLabel":"boolean"},"name":{"type":"string","const":"edit","description":"Always `edit`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1.name","typeLabel":"string"},"permission_policy":{"oneOf":[{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_allow","description":"Always `always_allow`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1.permission_policy.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1.permission_policy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_ask","description":"Always `always_ask`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1.permission_policy.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1.permission_policy.oneOf.1","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"auto","description":"Always `auto`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1.permission_policy.oneOf.2.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1.permission_policy.oneOf.2","typeLabel":"object"}],"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1.permission_policy","typeLabel":"object"},"type":{"type":"string","const":"edit","description":"Always `edit`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1.type","typeLabel":"string"}},"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1","typeLabel":"object"},{"type":"object","description":"Configuration for a specific agent tool.","required":["enabled","name","permission_policy","type"],"properties":{"enabled":{"type":"boolean","description":"Whether the agent may use the tool.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2.enabled","typeLabel":"boolean"},"name":{"type":"string","const":"read","description":"Always `read`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2.name","typeLabel":"string"},"permission_policy":{"oneOf":[{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_allow","description":"Always `always_allow`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2.permission_policy.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2.permission_policy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_ask","description":"Always `always_ask`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2.permission_policy.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2.permission_policy.oneOf.1","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"auto","description":"Always `auto`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2.permission_policy.oneOf.2.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2.permission_policy.oneOf.2","typeLabel":"object"}],"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2.permission_policy","typeLabel":"object"},"type":{"type":"string","const":"read","description":"Always `read`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2.type","typeLabel":"string"}},"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2","typeLabel":"object"},{"type":"object","description":"Configuration for a specific agent tool.","required":["enabled","name","permission_policy","type"],"properties":{"enabled":{"type":"boolean","description":"Whether the agent may use the tool.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3.enabled","typeLabel":"boolean"},"name":{"type":"string","const":"write","description":"Always `write`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3.name","typeLabel":"string"},"permission_policy":{"oneOf":[{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_allow","description":"Always `always_allow`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3.permission_policy.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3.permission_policy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_ask","description":"Always `always_ask`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3.permission_policy.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3.permission_policy.oneOf.1","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"auto","description":"Always `auto`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3.permission_policy.oneOf.2.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3.permission_policy.oneOf.2","typeLabel":"object"}],"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3.permission_policy","typeLabel":"object"},"type":{"type":"string","const":"write","description":"Always `write`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3.type","typeLabel":"string"}},"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3","typeLabel":"object"},{"type":"object","description":"Configuration for a specific agent tool.","required":["enabled","name","permission_policy","type"],"properties":{"enabled":{"type":"boolean","description":"Whether the agent may use the tool.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4.enabled","typeLabel":"boolean"},"name":{"type":"string","const":"glob","description":"Always `glob`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4.name","typeLabel":"string"},"permission_policy":{"oneOf":[{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_allow","description":"Always `always_allow`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4.permission_policy.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4.permission_policy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_ask","description":"Always `always_ask`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4.permission_policy.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4.permission_policy.oneOf.1","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"auto","description":"Always `auto`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4.permission_policy.oneOf.2.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4.permission_policy.oneOf.2","typeLabel":"object"}],"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4.permission_policy","typeLabel":"object"},"type":{"type":"string","const":"glob","description":"Always `glob`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4.type","typeLabel":"string"}},"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4","typeLabel":"object"},{"type":"object","description":"Configuration for a specific agent tool.","required":["enabled","name","permission_policy","type"],"properties":{"enabled":{"type":"boolean","description":"Whether the agent may use the tool.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5.enabled","typeLabel":"boolean"},"name":{"type":"string","const":"grep","description":"Always `grep`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5.name","typeLabel":"string"},"permission_policy":{"oneOf":[{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_allow","description":"Always `always_allow`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5.permission_policy.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5.permission_policy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_ask","description":"Always `always_ask`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5.permission_policy.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5.permission_policy.oneOf.1","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"auto","description":"Always `auto`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5.permission_policy.oneOf.2.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5.permission_policy.oneOf.2","typeLabel":"object"}],"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5.permission_policy","typeLabel":"object"},"type":{"type":"string","const":"grep","description":"Always `grep`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5.type","typeLabel":"string"}},"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5","typeLabel":"object"},{"type":"object","description":"Configuration for a specific agent tool.","required":["enabled","name","permission_policy","type","url_sources"],"properties":{"enabled":{"type":"boolean","description":"Whether the agent may use the tool.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.enabled","typeLabel":"boolean"},"name":{"type":"string","const":"web_fetch","description":"Always `web_fetch`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.name","typeLabel":"string"},"permission_policy":{"oneOf":[{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_allow","description":"Always `always_allow`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.permission_policy.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.permission_policy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_ask","description":"Always `always_ask`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.permission_policy.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.permission_policy.oneOf.1","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"auto","description":"Always `auto`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.permission_policy.oneOf.2.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.permission_policy.oneOf.2","typeLabel":"object"}],"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.permission_policy","typeLabel":"object"},"type":{"type":"string","const":"web_fetch","description":"Always `web_fetch`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.type","typeLabel":"string"},"url_sources":{"oneOf":[{"type":"object","description":"**Not supported on BMA:** Always null; BMA's `web_fetch` may fetch a URL from any source.\n\nWhich sources contribute URLs the tool may fetch, always in the object form. Null when not set, which allows every source.","required":["client_tool_results","server_tool_results","user_input"],"x-bma-unsupported":"Always null; BMA's `web_fetch` may fetch a URL from any source.","properties":{"client_tool_results":{"oneOf":[{"type":"object","description":"Which custom tools' results contribute URLs that may be fetched. Null when not set, which allows every custom tool's results.","required":["type"],"properties":{"type":{"type":"string","const":"all","description":"Always `all`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.0","typeLabel":"object"},{"type":"object","description":"Which custom tools' results contribute URLs that may be fetched. Null when not set, which allows every custom tool's results.","required":["type"],"properties":{"type":{"type":"string","const":"none","description":"Always `none`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.1","typeLabel":"object"},{"type":"object","description":"Which custom tools' results contribute URLs that may be fetched. Null when not set, which allows every custom tool's results.","required":["tools","type"],"properties":{"tools":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Name of the tool. Compared exactly, so upper and lower case letters are different.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.2.tools.items.[INDEX].name","typeLabel":"string"},"type":{"type":"string","const":"tool_reference","description":"Must be \"tool_reference\".","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.2.tools.items.[INDEX].type","typeLabel":"string"}},"required":["name","type"],"description":"Names one tool in an only or except list.","uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.2.tools.items.[INDEX]","typeLabel":"object"},"description":"The tools whose results contribute. Between 1 and 128 entries, each with a different name. An empty list is rejected; use \"none\" to allow no tool's results.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.2.tools","typeLabel":"object[]"},"type":{"type":"string","const":"only","description":"Always `only`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.2.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.2","typeLabel":"object"},{"type":"object","description":"Which custom tools' results contribute URLs that may be fetched. Null when not set, which allows every custom tool's results.","required":["tools","type"],"properties":{"tools":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Name of the tool. Compared exactly, so upper and lower case letters are different.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.3.tools.items.[INDEX].name","typeLabel":"string"},"type":{"type":"string","const":"tool_reference","description":"Must be \"tool_reference\".","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.3.tools.items.[INDEX].type","typeLabel":"string"}},"required":["name","type"],"description":"Names one tool in an only or except list.","uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.3.tools.items.[INDEX]","typeLabel":"object"},"description":"The tools whose results do not contribute. Between 1 and 128 entries, each with a different name. An empty list is rejected; use \"all\" to leave out no tool's results.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.3.tools","typeLabel":"object[]"},"type":{"type":"string","const":"except","description":"Always `except`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.3.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.3","typeLabel":"object"},{"type":"null","description":"Which custom tools' results contribute URLs that may be fetched. Null when not set, which allows every custom tool's results.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.4","typeLabel":"null"}],"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results","typeLabel":"object · object · object · object · null"},"server_tool_results":{"oneOf":[{"type":"object","description":"Which of the web_search and web_fetch tools' results contribute URLs that may be fetched. Null when not set, which allows both.","required":["type"],"properties":{"type":{"type":"string","const":"all","description":"Always `all`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.0","typeLabel":"object"},{"type":"object","description":"Which of the web_search and web_fetch tools' results contribute URLs that may be fetched. Null when not set, which allows both.","required":["type"],"properties":{"type":{"type":"string","const":"none","description":"Always `none`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.1","typeLabel":"object"},{"type":"object","description":"Which of the web_search and web_fetch tools' results contribute URLs that may be fetched. Null when not set, which allows both.","required":["tools","type"],"properties":{"tools":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Name of the tool. Compared exactly, so upper and lower case letters are different.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.2.tools.items.[INDEX].name","typeLabel":"string"},"type":{"type":"string","const":"tool_reference","description":"Must be \"tool_reference\".","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.2.tools.items.[INDEX].type","typeLabel":"string"}},"required":["name","type"],"description":"Names one tool in an only or except list.","uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.2.tools.items.[INDEX]","typeLabel":"object"},"description":"The tools whose results contribute. Between 1 and 128 entries, each with a different name. An empty list is rejected; use \"none\" to allow no tool's results.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.2.tools","typeLabel":"object[]"},"type":{"type":"string","const":"only","description":"Always `only`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.2.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.2","typeLabel":"object"},{"type":"object","description":"Which of the web_search and web_fetch tools' results contribute URLs that may be fetched. Null when not set, which allows both.","required":["tools","type"],"properties":{"tools":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Name of the tool. Compared exactly, so upper and lower case letters are different.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.3.tools.items.[INDEX].name","typeLabel":"string"},"type":{"type":"string","const":"tool_reference","description":"Must be \"tool_reference\".","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.3.tools.items.[INDEX].type","typeLabel":"string"}},"required":["name","type"],"description":"Names one tool in an only or except list.","uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.3.tools.items.[INDEX]","typeLabel":"object"},"description":"The tools whose results do not contribute. Between 1 and 128 entries, each with a different name. An empty list is rejected; use \"all\" to leave out no tool's results.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.3.tools","typeLabel":"object[]"},"type":{"type":"string","const":"except","description":"Always `except`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.3.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.3","typeLabel":"object"},{"type":"null","description":"Which of the web_search and web_fetch tools' results contribute URLs that may be fetched. Null when not set, which allows both.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.4","typeLabel":"null"}],"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results","typeLabel":"object · object · object · object · null"},"user_input":{"oneOf":[{"type":"object","description":"Whether URLs in the text of user messages may be fetched. Null when not set, which allows them.","required":["type"],"properties":{"type":{"type":"string","const":"all","description":"Always `all`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.user_input.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.user_input.oneOf.0","typeLabel":"object"},{"type":"object","description":"Whether URLs in the text of user messages may be fetched. Null when not set, which allows them.","required":["type"],"properties":{"type":{"type":"string","const":"none","description":"Always `none`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.user_input.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.user_input.oneOf.1","typeLabel":"object"},{"type":"null","description":"Whether URLs in the text of user messages may be fetched. Null when not set, which allows them.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.user_input.oneOf.2","typeLabel":"null"}],"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.user_input","typeLabel":"object · object · null"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0","typeLabel":"object"},{"type":"null","description":"**Not supported on BMA:** Always null; BMA's `web_fetch` may fetch a URL from any source.\n\nWhich sources contribute URLs the tool may fetch, always in the object form. Null when not set, which allows every source.","x-bma-unsupported":"Always null; BMA's `web_fetch` may fetch a URL from any source.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources","typeLabel":"object | null"},"allowed_domains":{"type":"array","items":{"type":"string","uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.allowed_domains.items.[INDEX]","typeLabel":"string"},"x-bma-unsupported":"Never returned; BMA does not restrict the domains `web_fetch` fetches from.","description":"**Not supported on BMA:** Never returned; BMA does not restrict the domains `web_fetch` fetches from.","uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.allowed_domains","typeLabel":"string[]"},"blocked_domains":{"type":"array","items":{"type":"string","uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.blocked_domains.items.[INDEX]","typeLabel":"string"},"x-bma-unsupported":"Never returned; BMA does not restrict the domains `web_fetch` fetches from.","description":"**Not supported on BMA:** Never returned; BMA does not restrict the domains `web_fetch` fetches from.","uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.blocked_domains","typeLabel":"string[]"},"max_content_tokens":{"oneOf":[{"type":"number","x-bma-unsupported":"Never returned; BMA returns fetched content whole.","description":"**Not supported on BMA:** Never returned; BMA returns fetched content whole.","uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.max_content_tokens.oneOf.0","typeLabel":"number"},{"type":"null","x-bma-unsupported":"Never returned; BMA returns fetched content whole.","description":"**Not supported on BMA:** Never returned; BMA returns fetched content whole.","uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.max_content_tokens.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.max_content_tokens","typeLabel":"number | null"}},"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6","typeLabel":"object"},{"type":"object","description":"Configuration for a specific agent tool.","required":["enabled","name","permission_policy","type"],"properties":{"enabled":{"type":"boolean","description":"Whether the agent may use the tool.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.enabled","typeLabel":"boolean"},"name":{"type":"string","const":"web_search","description":"Always `web_search`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.name","typeLabel":"string"},"permission_policy":{"oneOf":[{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_allow","description":"Always `always_allow`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.permission_policy.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.permission_policy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_ask","description":"Always `always_ask`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.permission_policy.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.permission_policy.oneOf.1","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"auto","description":"Always `auto`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.permission_policy.oneOf.2.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.permission_policy.oneOf.2","typeLabel":"object"}],"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.permission_policy","typeLabel":"object"},"type":{"type":"string","const":"web_search","description":"Always `web_search`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.type","typeLabel":"string"},"allowed_domains":{"type":"array","items":{"type":"string","uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.allowed_domains.items.[INDEX]","typeLabel":"string"},"description":"Domains search results may come from; when set, others are left out.","uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.allowed_domains","typeLabel":"string[]"},"blocked_domains":{"type":"array","items":{"type":"string","uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.blocked_domains.items.[INDEX]","typeLabel":"string"},"description":"Domains search results may not come from.","uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.blocked_domains","typeLabel":"string[]"},"user_location":{"oneOf":[{"type":"object","description":"Approximate user location for search result localization.","required":["type"],"properties":{"type":{"type":"string","const":"approximate","description":"Location precision. Only \"approximate\" is supported.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.type","typeLabel":"string"},"city":{"oneOf":[{"type":"string","description":"City name.","uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.city.oneOf.0","typeLabel":"string"},{"type":"null","description":"City name.","uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.city","typeLabel":"string | null"},"country":{"oneOf":[{"type":"string","description":"Two-letter ISO 3166-1 country code, uppercase.","uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.country.oneOf.0","typeLabel":"string"},{"type":"null","description":"Two-letter ISO 3166-1 country code, uppercase.","uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.country","typeLabel":"string | null"},"region":{"oneOf":[{"type":"string","description":"Region or state name.","uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.region.oneOf.0","typeLabel":"string"},{"type":"null","description":"Region or state name.","uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.region.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.region","typeLabel":"string | null"},"timezone":{"oneOf":[{"type":"string","description":"IANA timezone identifier, e.g. \"America/Los_Angeles\".","uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.timezone.oneOf.0","typeLabel":"string"},{"type":"null","description":"IANA timezone identifier, e.g. \"America/Los_Angeles\".","uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.timezone.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.timezone","typeLabel":"string | null"}},"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0","typeLabel":"object"},{"type":"null","description":"Approximate user location for search result localization.","uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location","typeLabel":"object | null"}},"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7","typeLabel":"object"}],"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX]","typeLabel":"object"},"description":"Per-tool settings that differ from `default_config`, one entry per named tool.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs","typeLabel":"object[]"},"default_config":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the toolset's tools are available unless a `configs` entry says otherwise.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.default_config.enabled","typeLabel":"boolean"},"permission_policy":{"oneOf":[{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_allow","description":"Always `always_allow`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.default_config.permission_policy.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.default_config.permission_policy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_ask","description":"Always `always_ask`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.default_config.permission_policy.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.default_config.permission_policy.oneOf.1","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"auto","description":"Always `auto`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.default_config.permission_policy.oneOf.2.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.default_config.permission_policy.oneOf.2","typeLabel":"object"}],"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.default_config.permission_policy","typeLabel":"object"}},"required":["enabled","permission_policy"],"description":"Resolved default configuration for agent tools.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.default_config","typeLabel":"object"},"type":{"type":"string","const":"agent_toolset_20260401","description":"Always `agent_toolset_20260401`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.type","typeLabel":"string"}},"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"The tools of one MCP server of the agent, with per-tool settings.","required":["configs","default_config","mcp_server_name","type"],"properties":{"configs":{"type":"array","items":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the agent may use the tool.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.1.configs.items.[INDEX].enabled","typeLabel":"boolean"},"name":{"type":"string","description":"Name of the MCP tool, as the server lists it.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.1.configs.items.[INDEX].name","typeLabel":"string"},"permission_policy":{"oneOf":[{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_allow","description":"Always `always_allow`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.1.configs.items.[INDEX].permission_policy.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.1.configs.items.[INDEX].permission_policy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_ask","description":"Always `always_ask`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.1.configs.items.[INDEX].permission_policy.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.1.configs.items.[INDEX].permission_policy.oneOf.1","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"auto","description":"Always `auto`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.1.configs.items.[INDEX].permission_policy.oneOf.2.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.1.configs.items.[INDEX].permission_policy.oneOf.2","typeLabel":"object"}],"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.1.configs.items.[INDEX].permission_policy","typeLabel":"object"}},"required":["enabled","name","permission_policy"],"description":"Resolved configuration for a specific MCP tool.","uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.1.configs.items.[INDEX]","typeLabel":"object"},"description":"Per-tool settings that differ from `default_config`, one entry per named tool.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.1.configs","typeLabel":"object[]"},"default_config":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the server's tools are available unless a `configs` entry says otherwise.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.1.default_config.enabled","typeLabel":"boolean"},"permission_policy":{"oneOf":[{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_allow","description":"Always `always_allow`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.1.default_config.permission_policy.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.1.default_config.permission_policy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_ask","description":"Always `always_ask`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.1.default_config.permission_policy.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.1.default_config.permission_policy.oneOf.1","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"auto","description":"Always `auto`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.1.default_config.permission_policy.oneOf.2.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.1.default_config.permission_policy.oneOf.2","typeLabel":"object"}],"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.1.default_config.permission_policy","typeLabel":"object"}},"required":["enabled","permission_policy"],"description":"Resolved default configuration for all tools from an MCP server.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.1.default_config","typeLabel":"object"},"mcp_server_name":{"type":"string","description":"Name of the agent's MCP server (`mcp_servers[].name`) whose tools this toolset exposes.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.1.mcp_server_name","typeLabel":"string"},"type":{"type":"string","const":"mcp_toolset","description":"Always `mcp_toolset`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.1.type","typeLabel":"string"}},"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.1","typeLabel":"object"},{"type":"object","description":"A custom tool as returned in API responses.","required":["description","input_schema","name","type"],"properties":{"description":{"type":"string","description":"What the tool does, shown to the model.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.2.description","typeLabel":"string"},"input_schema":{"type":"object","properties":{"type":{"type":"string","const":"object","description":"Always `object`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.2.input_schema.type","typeLabel":"string"},"properties":{"oneOf":[{"type":"object","description":"JSON Schema of each input member, keyed by member name.","additionalProperties":{"oneOf":[{}],"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.2.input_schema.properties.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.2.input_schema.properties.oneOf.0","typeLabel":"object"},{"type":"null","description":"JSON Schema of each input member, keyed by member name.","uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.2.input_schema.properties.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.2.input_schema.properties","typeLabel":"object | null"},"required":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.2.input_schema.required.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"Names of the input members the model must provide.","uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.2.input_schema.required.oneOf.0","typeLabel":"string[]"},{"type":"null","description":"Names of the input members the model must provide.","uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.2.input_schema.required.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.2.input_schema.required","typeLabel":"string[] | null"}},"required":["type"],"additionalProperties":{"oneOf":[{}],"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.2.input_schema.additionalProperties","typeLabel":"any"},"description":"JSON Schema for custom tool input parameters.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.2.input_schema","typeLabel":"object"},"name":{"type":"string","description":"Name of the tool; the agent's calls name it in `agent.custom_tool_use`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.2.name","typeLabel":"string"},"type":{"type":"string","const":"custom","description":"Always `custom`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.2.type","typeLabel":"string"}},"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.2","typeLabel":"object"}],"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX]","typeLabel":"object"},"description":"The agent's tools.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].tools","typeLabel":"object[]"},"type":{"description":"Always `agent`.","type":"string","const":"agent","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].type","typeLabel":"string"},"version":{"type":"number","description":"The agent version the thread runs.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX].version","typeLabel":"number"}},"required":["id","description","execution_identity","mcp_servers","model","name","skills","system","tools","type","version"],"description":"Resolved `agent` definition for a single `session_thread`. Snapshot of the agent at thread creation time. The multiagent roster is not repeated here; read it from `Session.agent`.","uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents.items.[INDEX]","typeLabel":"object"},"description":"Full `agent` definitions of the predefined agents, which are saved agents that this agent can spawn as session threads.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.predefined_agents","typeLabel":"object[]"},"type":{"type":"string","const":"enabled","description":"Always `enabled`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.0","typeLabel":"object"},{"type":"object","description":"Whether the agent can spawn session threads.","required":["type"],"properties":{"type":{"type":"string","const":"disabled","description":"Always `disabled`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.subagents","typeLabel":"object"},"type":{"type":"string","const":"multiagent_20261001","description":"Always `multiagent_20261001`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.type","typeLabel":"string"},"workflows":{"oneOf":[{"type":"object","description":"Whether the agent can start workflow runs.","required":["inline_agents","predefined_agents","type"],"properties":{"inline_agents":{"oneOf":[{"type":"object","description":"Whether a run's plan can define inline agents, which are not saved.","required":["type"],"properties":{"type":{"type":"string","const":"enabled","description":"Always `enabled`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.inline_agents.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.inline_agents.oneOf.0","typeLabel":"object"},{"type":"object","description":"Whether a run's plan can define inline agents, which are not saved.","required":["type"],"properties":{"type":{"type":"string","const":"disabled","description":"Always `disabled`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.inline_agents.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.inline_agents.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.inline_agents","typeLabel":"object"},"predefined_agents":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"ID of the agent the thread runs.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].id","typeLabel":"string"},"description":{"oneOf":[{"type":"string","description":"The agent's description; null when it has none.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].description.oneOf.0","typeLabel":"string"},{"type":"null","description":"The agent's description; null when it has none.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].description.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].description","typeLabel":"string | null"},"execution_identity":{"oneOf":[{"type":"object","description":"Execution principal snapshotted from the agent at session creation. Always present; `{\"type\": \"service_account\"}` when runs carry no customer-named principal.","required":["role_arn","type"],"properties":{"role_arn":{"type":"string","description":"The IAM role's ARN.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].execution_identity.oneOf.0.role_arn","typeLabel":"string"},"type":{"type":"string","const":"aws_role","description":"Always `aws_role`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].execution_identity.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].execution_identity.oneOf.0","typeLabel":"object"},{"type":"object","description":"Execution principal snapshotted from the agent at session creation. Always present; `{\"type\": \"service_account\"}` when runs carry no customer-named principal.","required":["type"],"properties":{"type":{"type":"string","const":"service_account","description":"Always `service_account`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].execution_identity.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].execution_identity.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].execution_identity","typeLabel":"object"},"mcp_servers":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"The MCP server's name, which an `mcp_toolset` refers to by `mcp_server_name`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].mcp_servers.items.[INDEX].name","typeLabel":"string"},"type":{"type":"string","const":"url","description":"Always `url`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].mcp_servers.items.[INDEX].type","typeLabel":"string"},"url":{"type":"string","description":"The MCP server's URL.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].mcp_servers.items.[INDEX].url","typeLabel":"string"}},"required":["name","type","url"],"description":"URL-based MCP server connection as returned in API responses.","uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].mcp_servers.items.[INDEX]","typeLabel":"object"},"description":"The agent's MCP servers.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].mcp_servers","typeLabel":"object[]"},"model":{"type":"object","properties":{"id":{"type":"string","description":"The model that will power your agent.\n\nSee [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].model.id","typeLabel":"string"},"effort":{"oneOf":[{"type":"object","description":"The effort level the agent was saved with as `{\"type\": \u003clevel>}`; null when the agent names none.","required":["type"],"properties":{"type":{"type":"string","const":"low","description":"Always `low`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].model.effort.oneOf.0.type","typeLabel":"string"}},"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].model.effort.oneOf.0","typeLabel":"object"},{"type":"object","description":"The effort level the agent was saved with as `{\"type\": \u003clevel>}`; null when the agent names none.","required":["type"],"properties":{"type":{"type":"string","const":"medium","description":"Always `medium`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].model.effort.oneOf.1.type","typeLabel":"string"}},"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].model.effort.oneOf.1","typeLabel":"object"},{"type":"object","description":"The effort level the agent was saved with as `{\"type\": \u003clevel>}`; null when the agent names none.","required":["type"],"properties":{"type":{"type":"string","const":"high","description":"Always `high`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].model.effort.oneOf.2.type","typeLabel":"string"}},"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].model.effort.oneOf.2","typeLabel":"object"},{"type":"object","description":"The effort level the agent was saved with as `{\"type\": \u003clevel>}`; null when the agent names none.","required":["type"],"properties":{"type":{"type":"string","const":"xhigh","description":"Always `xhigh`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].model.effort.oneOf.3.type","typeLabel":"string"}},"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].model.effort.oneOf.3","typeLabel":"object"},{"type":"object","description":"The effort level the agent was saved with as `{\"type\": \u003clevel>}`; null when the agent names none.","required":["type"],"properties":{"type":{"type":"string","const":"max","description":"Always `max`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].model.effort.oneOf.4.type","typeLabel":"string"}},"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].model.effort.oneOf.4","typeLabel":"object"}],"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].model.effort","typeLabel":"object"},"inference_geo":{"type":"string","description":"**Not supported on BMA:** Returned as null.\n\nGeographic region for model inference. When unset, requests fall through to the workspace's default_inference_geo.","x-bma-unsupported":"Returned as null.","uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].model.inference_geo","typeLabel":"string"},"speed":{"type":"string","enum":["standard","fast"],"description":"**Not supported on BMA:** Returned as null; requests run at standard speed.\n\nInference speed mode. `fast` provides significantly faster output token generation at premium pricing. Defaults to `standard`. Not all models support `fast`; invalid combinations are rejected at create time.","x-bma-unsupported":"Returned as null; requests run at standard speed.","uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].model.speed","typeLabel":"enum\u003cstring>"}},"required":["id"],"description":"Model identifier and configuration.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].model","typeLabel":"object"},"name":{"type":"string","description":"The agent's name.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].name","typeLabel":"string"},"skills":{"type":"array","items":{"oneOf":[{"type":"object","description":"A resolved Anthropic-managed skill.","required":["skill_id","type","version"],"properties":{"skill_id":{"type":"string","description":"ID of the Anthropic skill. BMA hosts no Anthropic skills, so sessions never contain one.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].skills.items.[INDEX].oneOf.0.skill_id","typeLabel":"string"},"type":{"type":"string","const":"anthropic","description":"Always `anthropic`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].skills.items.[INDEX].oneOf.0.type","typeLabel":"string"},"version":{"type":"string","description":"The skill version.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].skills.items.[INDEX].oneOf.0.version","typeLabel":"string"}},"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].skills.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"A resolved user-created custom skill.","required":["skill_id","type","version"],"properties":{"skill_id":{"type":"string","description":"ID of the skill (`skl_` ID).","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].skills.items.[INDEX].oneOf.1.skill_id","typeLabel":"string"},"type":{"type":"string","const":"custom","description":"Always `custom`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].skills.items.[INDEX].oneOf.1.type","typeLabel":"string"},"version":{"type":"string","description":"The skill version the session uses (`skr_` ID), resolved when the session was created.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].skills.items.[INDEX].oneOf.1.version","typeLabel":"string"}},"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].skills.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].skills.items.[INDEX]","typeLabel":"object"},"description":"The agent's skills with their versions.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].skills","typeLabel":"object[]"},"system":{"oneOf":[{"type":"string","description":"The agent's system prompt; null when there is none.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].system.oneOf.0","typeLabel":"string"},{"type":"null","description":"The agent's system prompt; null when there is none.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].system.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].system","typeLabel":"string | null"},"tools":{"type":"array","items":{"oneOf":[{"type":"object","description":"The built-in agent toolset (bash, file and web tools) with its per-tool settings.","required":["configs","default_config","type"],"properties":{"configs":{"type":"array","items":{"oneOf":[{"type":"object","description":"Configuration for a specific agent tool.","required":["enabled","name","permission_policy","type"],"properties":{"enabled":{"type":"boolean","description":"Whether the agent may use the tool.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0.enabled","typeLabel":"boolean"},"name":{"type":"string","const":"bash","description":"Always `bash`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0.name","typeLabel":"string"},"permission_policy":{"oneOf":[{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_allow","description":"Always `always_allow`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0.permission_policy.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0.permission_policy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_ask","description":"Always `always_ask`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0.permission_policy.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0.permission_policy.oneOf.1","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"auto","description":"Always `auto`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0.permission_policy.oneOf.2.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0.permission_policy.oneOf.2","typeLabel":"object"}],"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0.permission_policy","typeLabel":"object"},"type":{"type":"string","const":"bash","description":"Always `bash`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0.type","typeLabel":"string"}},"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"Configuration for a specific agent tool.","required":["enabled","name","permission_policy","type"],"properties":{"enabled":{"type":"boolean","description":"Whether the agent may use the tool.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1.enabled","typeLabel":"boolean"},"name":{"type":"string","const":"edit","description":"Always `edit`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1.name","typeLabel":"string"},"permission_policy":{"oneOf":[{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_allow","description":"Always `always_allow`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1.permission_policy.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1.permission_policy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_ask","description":"Always `always_ask`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1.permission_policy.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1.permission_policy.oneOf.1","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"auto","description":"Always `auto`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1.permission_policy.oneOf.2.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1.permission_policy.oneOf.2","typeLabel":"object"}],"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1.permission_policy","typeLabel":"object"},"type":{"type":"string","const":"edit","description":"Always `edit`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1.type","typeLabel":"string"}},"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1","typeLabel":"object"},{"type":"object","description":"Configuration for a specific agent tool.","required":["enabled","name","permission_policy","type"],"properties":{"enabled":{"type":"boolean","description":"Whether the agent may use the tool.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2.enabled","typeLabel":"boolean"},"name":{"type":"string","const":"read","description":"Always `read`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2.name","typeLabel":"string"},"permission_policy":{"oneOf":[{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_allow","description":"Always `always_allow`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2.permission_policy.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2.permission_policy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_ask","description":"Always `always_ask`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2.permission_policy.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2.permission_policy.oneOf.1","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"auto","description":"Always `auto`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2.permission_policy.oneOf.2.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2.permission_policy.oneOf.2","typeLabel":"object"}],"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2.permission_policy","typeLabel":"object"},"type":{"type":"string","const":"read","description":"Always `read`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2.type","typeLabel":"string"}},"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2","typeLabel":"object"},{"type":"object","description":"Configuration for a specific agent tool.","required":["enabled","name","permission_policy","type"],"properties":{"enabled":{"type":"boolean","description":"Whether the agent may use the tool.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3.enabled","typeLabel":"boolean"},"name":{"type":"string","const":"write","description":"Always `write`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3.name","typeLabel":"string"},"permission_policy":{"oneOf":[{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_allow","description":"Always `always_allow`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3.permission_policy.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3.permission_policy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_ask","description":"Always `always_ask`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3.permission_policy.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3.permission_policy.oneOf.1","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"auto","description":"Always `auto`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3.permission_policy.oneOf.2.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3.permission_policy.oneOf.2","typeLabel":"object"}],"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3.permission_policy","typeLabel":"object"},"type":{"type":"string","const":"write","description":"Always `write`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3.type","typeLabel":"string"}},"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3","typeLabel":"object"},{"type":"object","description":"Configuration for a specific agent tool.","required":["enabled","name","permission_policy","type"],"properties":{"enabled":{"type":"boolean","description":"Whether the agent may use the tool.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4.enabled","typeLabel":"boolean"},"name":{"type":"string","const":"glob","description":"Always `glob`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4.name","typeLabel":"string"},"permission_policy":{"oneOf":[{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_allow","description":"Always `always_allow`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4.permission_policy.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4.permission_policy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_ask","description":"Always `always_ask`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4.permission_policy.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4.permission_policy.oneOf.1","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"auto","description":"Always `auto`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4.permission_policy.oneOf.2.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4.permission_policy.oneOf.2","typeLabel":"object"}],"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4.permission_policy","typeLabel":"object"},"type":{"type":"string","const":"glob","description":"Always `glob`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4.type","typeLabel":"string"}},"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4","typeLabel":"object"},{"type":"object","description":"Configuration for a specific agent tool.","required":["enabled","name","permission_policy","type"],"properties":{"enabled":{"type":"boolean","description":"Whether the agent may use the tool.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5.enabled","typeLabel":"boolean"},"name":{"type":"string","const":"grep","description":"Always `grep`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5.name","typeLabel":"string"},"permission_policy":{"oneOf":[{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_allow","description":"Always `always_allow`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5.permission_policy.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5.permission_policy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_ask","description":"Always `always_ask`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5.permission_policy.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5.permission_policy.oneOf.1","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"auto","description":"Always `auto`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5.permission_policy.oneOf.2.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5.permission_policy.oneOf.2","typeLabel":"object"}],"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5.permission_policy","typeLabel":"object"},"type":{"type":"string","const":"grep","description":"Always `grep`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5.type","typeLabel":"string"}},"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5","typeLabel":"object"},{"type":"object","description":"Configuration for a specific agent tool.","required":["enabled","name","permission_policy","type","url_sources"],"properties":{"enabled":{"type":"boolean","description":"Whether the agent may use the tool.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.enabled","typeLabel":"boolean"},"name":{"type":"string","const":"web_fetch","description":"Always `web_fetch`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.name","typeLabel":"string"},"permission_policy":{"oneOf":[{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_allow","description":"Always `always_allow`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.permission_policy.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.permission_policy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_ask","description":"Always `always_ask`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.permission_policy.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.permission_policy.oneOf.1","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"auto","description":"Always `auto`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.permission_policy.oneOf.2.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.permission_policy.oneOf.2","typeLabel":"object"}],"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.permission_policy","typeLabel":"object"},"type":{"type":"string","const":"web_fetch","description":"Always `web_fetch`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.type","typeLabel":"string"},"url_sources":{"oneOf":[{"type":"object","description":"**Not supported on BMA:** Always null; BMA's `web_fetch` may fetch a URL from any source.\n\nWhich sources contribute URLs the tool may fetch, always in the object form. Null when not set, which allows every source.","required":["client_tool_results","server_tool_results","user_input"],"x-bma-unsupported":"Always null; BMA's `web_fetch` may fetch a URL from any source.","properties":{"client_tool_results":{"oneOf":[{"type":"object","description":"Which custom tools' results contribute URLs that may be fetched. Null when not set, which allows every custom tool's results.","required":["type"],"properties":{"type":{"type":"string","const":"all","description":"Always `all`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.0","typeLabel":"object"},{"type":"object","description":"Which custom tools' results contribute URLs that may be fetched. Null when not set, which allows every custom tool's results.","required":["type"],"properties":{"type":{"type":"string","const":"none","description":"Always `none`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.1","typeLabel":"object"},{"type":"object","description":"Which custom tools' results contribute URLs that may be fetched. Null when not set, which allows every custom tool's results.","required":["tools","type"],"properties":{"tools":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Name of the tool. Compared exactly, so upper and lower case letters are different.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.2.tools.items.[INDEX].name","typeLabel":"string"},"type":{"type":"string","const":"tool_reference","description":"Must be \"tool_reference\".","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.2.tools.items.[INDEX].type","typeLabel":"string"}},"required":["name","type"],"description":"Names one tool in an only or except list.","uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.2.tools.items.[INDEX]","typeLabel":"object"},"description":"The tools whose results contribute. Between 1 and 128 entries, each with a different name. An empty list is rejected; use \"none\" to allow no tool's results.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.2.tools","typeLabel":"object[]"},"type":{"type":"string","const":"only","description":"Always `only`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.2.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.2","typeLabel":"object"},{"type":"object","description":"Which custom tools' results contribute URLs that may be fetched. Null when not set, which allows every custom tool's results.","required":["tools","type"],"properties":{"tools":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Name of the tool. Compared exactly, so upper and lower case letters are different.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.3.tools.items.[INDEX].name","typeLabel":"string"},"type":{"type":"string","const":"tool_reference","description":"Must be \"tool_reference\".","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.3.tools.items.[INDEX].type","typeLabel":"string"}},"required":["name","type"],"description":"Names one tool in an only or except list.","uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.3.tools.items.[INDEX]","typeLabel":"object"},"description":"The tools whose results do not contribute. Between 1 and 128 entries, each with a different name. An empty list is rejected; use \"all\" to leave out no tool's results.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.3.tools","typeLabel":"object[]"},"type":{"type":"string","const":"except","description":"Always `except`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.3.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.3","typeLabel":"object"},{"type":"null","description":"Which custom tools' results contribute URLs that may be fetched. Null when not set, which allows every custom tool's results.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.4","typeLabel":"null"}],"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results","typeLabel":"object · object · object · object · null"},"server_tool_results":{"oneOf":[{"type":"object","description":"Which of the web_search and web_fetch tools' results contribute URLs that may be fetched. Null when not set, which allows both.","required":["type"],"properties":{"type":{"type":"string","const":"all","description":"Always `all`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.0","typeLabel":"object"},{"type":"object","description":"Which of the web_search and web_fetch tools' results contribute URLs that may be fetched. Null when not set, which allows both.","required":["type"],"properties":{"type":{"type":"string","const":"none","description":"Always `none`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.1","typeLabel":"object"},{"type":"object","description":"Which of the web_search and web_fetch tools' results contribute URLs that may be fetched. Null when not set, which allows both.","required":["tools","type"],"properties":{"tools":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Name of the tool. Compared exactly, so upper and lower case letters are different.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.2.tools.items.[INDEX].name","typeLabel":"string"},"type":{"type":"string","const":"tool_reference","description":"Must be \"tool_reference\".","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.2.tools.items.[INDEX].type","typeLabel":"string"}},"required":["name","type"],"description":"Names one tool in an only or except list.","uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.2.tools.items.[INDEX]","typeLabel":"object"},"description":"The tools whose results contribute. Between 1 and 128 entries, each with a different name. An empty list is rejected; use \"none\" to allow no tool's results.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.2.tools","typeLabel":"object[]"},"type":{"type":"string","const":"only","description":"Always `only`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.2.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.2","typeLabel":"object"},{"type":"object","description":"Which of the web_search and web_fetch tools' results contribute URLs that may be fetched. Null when not set, which allows both.","required":["tools","type"],"properties":{"tools":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Name of the tool. Compared exactly, so upper and lower case letters are different.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.3.tools.items.[INDEX].name","typeLabel":"string"},"type":{"type":"string","const":"tool_reference","description":"Must be \"tool_reference\".","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.3.tools.items.[INDEX].type","typeLabel":"string"}},"required":["name","type"],"description":"Names one tool in an only or except list.","uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.3.tools.items.[INDEX]","typeLabel":"object"},"description":"The tools whose results do not contribute. Between 1 and 128 entries, each with a different name. An empty list is rejected; use \"all\" to leave out no tool's results.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.3.tools","typeLabel":"object[]"},"type":{"type":"string","const":"except","description":"Always `except`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.3.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.3","typeLabel":"object"},{"type":"null","description":"Which of the web_search and web_fetch tools' results contribute URLs that may be fetched. Null when not set, which allows both.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.4","typeLabel":"null"}],"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results","typeLabel":"object · object · object · object · null"},"user_input":{"oneOf":[{"type":"object","description":"Whether URLs in the text of user messages may be fetched. Null when not set, which allows them.","required":["type"],"properties":{"type":{"type":"string","const":"all","description":"Always `all`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.user_input.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.user_input.oneOf.0","typeLabel":"object"},{"type":"object","description":"Whether URLs in the text of user messages may be fetched. Null when not set, which allows them.","required":["type"],"properties":{"type":{"type":"string","const":"none","description":"Always `none`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.user_input.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.user_input.oneOf.1","typeLabel":"object"},{"type":"null","description":"Whether URLs in the text of user messages may be fetched. Null when not set, which allows them.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.user_input.oneOf.2","typeLabel":"null"}],"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.user_input","typeLabel":"object · object · null"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0","typeLabel":"object"},{"type":"null","description":"**Not supported on BMA:** Always null; BMA's `web_fetch` may fetch a URL from any source.\n\nWhich sources contribute URLs the tool may fetch, always in the object form. Null when not set, which allows every source.","x-bma-unsupported":"Always null; BMA's `web_fetch` may fetch a URL from any source.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources","typeLabel":"object | null"},"allowed_domains":{"type":"array","items":{"type":"string","uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.allowed_domains.items.[INDEX]","typeLabel":"string"},"x-bma-unsupported":"Never returned; BMA does not restrict the domains `web_fetch` fetches from.","description":"**Not supported on BMA:** Never returned; BMA does not restrict the domains `web_fetch` fetches from.","uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.allowed_domains","typeLabel":"string[]"},"blocked_domains":{"type":"array","items":{"type":"string","uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.blocked_domains.items.[INDEX]","typeLabel":"string"},"x-bma-unsupported":"Never returned; BMA does not restrict the domains `web_fetch` fetches from.","description":"**Not supported on BMA:** Never returned; BMA does not restrict the domains `web_fetch` fetches from.","uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.blocked_domains","typeLabel":"string[]"},"max_content_tokens":{"oneOf":[{"type":"number","x-bma-unsupported":"Never returned; BMA returns fetched content whole.","description":"**Not supported on BMA:** Never returned; BMA returns fetched content whole.","uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.max_content_tokens.oneOf.0","typeLabel":"number"},{"type":"null","x-bma-unsupported":"Never returned; BMA returns fetched content whole.","description":"**Not supported on BMA:** Never returned; BMA returns fetched content whole.","uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.max_content_tokens.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.max_content_tokens","typeLabel":"number | null"}},"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6","typeLabel":"object"},{"type":"object","description":"Configuration for a specific agent tool.","required":["enabled","name","permission_policy","type"],"properties":{"enabled":{"type":"boolean","description":"Whether the agent may use the tool.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.enabled","typeLabel":"boolean"},"name":{"type":"string","const":"web_search","description":"Always `web_search`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.name","typeLabel":"string"},"permission_policy":{"oneOf":[{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_allow","description":"Always `always_allow`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.permission_policy.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.permission_policy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_ask","description":"Always `always_ask`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.permission_policy.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.permission_policy.oneOf.1","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"auto","description":"Always `auto`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.permission_policy.oneOf.2.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.permission_policy.oneOf.2","typeLabel":"object"}],"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.permission_policy","typeLabel":"object"},"type":{"type":"string","const":"web_search","description":"Always `web_search`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.type","typeLabel":"string"},"allowed_domains":{"type":"array","items":{"type":"string","uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.allowed_domains.items.[INDEX]","typeLabel":"string"},"description":"Domains search results may come from; when set, others are left out.","uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.allowed_domains","typeLabel":"string[]"},"blocked_domains":{"type":"array","items":{"type":"string","uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.blocked_domains.items.[INDEX]","typeLabel":"string"},"description":"Domains search results may not come from.","uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.blocked_domains","typeLabel":"string[]"},"user_location":{"oneOf":[{"type":"object","description":"Approximate user location for search result localization.","required":["type"],"properties":{"type":{"type":"string","const":"approximate","description":"Location precision. Only \"approximate\" is supported.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.type","typeLabel":"string"},"city":{"oneOf":[{"type":"string","description":"City name.","uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.city.oneOf.0","typeLabel":"string"},{"type":"null","description":"City name.","uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.city","typeLabel":"string | null"},"country":{"oneOf":[{"type":"string","description":"Two-letter ISO 3166-1 country code, uppercase.","uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.country.oneOf.0","typeLabel":"string"},{"type":"null","description":"Two-letter ISO 3166-1 country code, uppercase.","uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.country","typeLabel":"string | null"},"region":{"oneOf":[{"type":"string","description":"Region or state name.","uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.region.oneOf.0","typeLabel":"string"},{"type":"null","description":"Region or state name.","uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.region.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.region","typeLabel":"string | null"},"timezone":{"oneOf":[{"type":"string","description":"IANA timezone identifier, e.g. \"America/Los_Angeles\".","uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.timezone.oneOf.0","typeLabel":"string"},{"type":"null","description":"IANA timezone identifier, e.g. \"America/Los_Angeles\".","uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.timezone.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.timezone","typeLabel":"string | null"}},"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0","typeLabel":"object"},{"type":"null","description":"Approximate user location for search result localization.","uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location","typeLabel":"object | null"}},"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7","typeLabel":"object"}],"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs.items.[INDEX]","typeLabel":"object"},"description":"Per-tool settings that differ from `default_config`, one entry per named tool.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.configs","typeLabel":"object[]"},"default_config":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the toolset's tools are available unless a `configs` entry says otherwise.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.default_config.enabled","typeLabel":"boolean"},"permission_policy":{"oneOf":[{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_allow","description":"Always `always_allow`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.default_config.permission_policy.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.default_config.permission_policy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_ask","description":"Always `always_ask`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.default_config.permission_policy.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.default_config.permission_policy.oneOf.1","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"auto","description":"Always `auto`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.default_config.permission_policy.oneOf.2.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.default_config.permission_policy.oneOf.2","typeLabel":"object"}],"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.default_config.permission_policy","typeLabel":"object"}},"required":["enabled","permission_policy"],"description":"Resolved default configuration for agent tools.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.default_config","typeLabel":"object"},"type":{"type":"string","const":"agent_toolset_20260401","description":"Always `agent_toolset_20260401`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0.type","typeLabel":"string"}},"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"The tools of one MCP server of the agent, with per-tool settings.","required":["configs","default_config","mcp_server_name","type"],"properties":{"configs":{"type":"array","items":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the agent may use the tool.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.1.configs.items.[INDEX].enabled","typeLabel":"boolean"},"name":{"type":"string","description":"Name of the MCP tool, as the server lists it.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.1.configs.items.[INDEX].name","typeLabel":"string"},"permission_policy":{"oneOf":[{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_allow","description":"Always `always_allow`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.1.configs.items.[INDEX].permission_policy.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.1.configs.items.[INDEX].permission_policy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_ask","description":"Always `always_ask`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.1.configs.items.[INDEX].permission_policy.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.1.configs.items.[INDEX].permission_policy.oneOf.1","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"auto","description":"Always `auto`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.1.configs.items.[INDEX].permission_policy.oneOf.2.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.1.configs.items.[INDEX].permission_policy.oneOf.2","typeLabel":"object"}],"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.1.configs.items.[INDEX].permission_policy","typeLabel":"object"}},"required":["enabled","name","permission_policy"],"description":"Resolved configuration for a specific MCP tool.","uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.1.configs.items.[INDEX]","typeLabel":"object"},"description":"Per-tool settings that differ from `default_config`, one entry per named tool.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.1.configs","typeLabel":"object[]"},"default_config":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the server's tools are available unless a `configs` entry says otherwise.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.1.default_config.enabled","typeLabel":"boolean"},"permission_policy":{"oneOf":[{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_allow","description":"Always `always_allow`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.1.default_config.permission_policy.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.1.default_config.permission_policy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_ask","description":"Always `always_ask`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.1.default_config.permission_policy.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.1.default_config.permission_policy.oneOf.1","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"auto","description":"Always `auto`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.1.default_config.permission_policy.oneOf.2.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.1.default_config.permission_policy.oneOf.2","typeLabel":"object"}],"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.1.default_config.permission_policy","typeLabel":"object"}},"required":["enabled","permission_policy"],"description":"Resolved default configuration for all tools from an MCP server.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.1.default_config","typeLabel":"object"},"mcp_server_name":{"type":"string","description":"Name of the agent's MCP server (`mcp_servers[].name`) whose tools this toolset exposes.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.1.mcp_server_name","typeLabel":"string"},"type":{"type":"string","const":"mcp_toolset","description":"Always `mcp_toolset`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.1.type","typeLabel":"string"}},"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.1","typeLabel":"object"},{"type":"object","description":"A custom tool as returned in API responses.","required":["description","input_schema","name","type"],"properties":{"description":{"type":"string","description":"What the tool does, shown to the model.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.2.description","typeLabel":"string"},"input_schema":{"type":"object","properties":{"type":{"type":"string","const":"object","description":"Always `object`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.2.input_schema.type","typeLabel":"string"},"properties":{"oneOf":[{"type":"object","description":"JSON Schema of each input member, keyed by member name.","additionalProperties":{"oneOf":[{}],"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.2.input_schema.properties.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.2.input_schema.properties.oneOf.0","typeLabel":"object"},{"type":"null","description":"JSON Schema of each input member, keyed by member name.","uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.2.input_schema.properties.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.2.input_schema.properties","typeLabel":"object | null"},"required":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.2.input_schema.required.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"Names of the input members the model must provide.","uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.2.input_schema.required.oneOf.0","typeLabel":"string[]"},{"type":"null","description":"Names of the input members the model must provide.","uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.2.input_schema.required.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.2.input_schema.required","typeLabel":"string[] | null"}},"required":["type"],"additionalProperties":{"oneOf":[{}],"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.2.input_schema.additionalProperties","typeLabel":"any"},"description":"JSON Schema for custom tool input parameters.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.2.input_schema","typeLabel":"object"},"name":{"type":"string","description":"Name of the tool; the agent's calls name it in `agent.custom_tool_use`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.2.name","typeLabel":"string"},"type":{"type":"string","const":"custom","description":"Always `custom`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.2.type","typeLabel":"string"}},"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX].oneOf.2","typeLabel":"object"}],"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools.items.[INDEX]","typeLabel":"object"},"description":"The agent's tools.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].tools","typeLabel":"object[]"},"type":{"description":"Always `agent`.","type":"string","const":"agent","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].type","typeLabel":"string"},"version":{"type":"number","description":"The agent version the thread runs.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX].version","typeLabel":"number"}},"required":["id","description","execution_identity","mcp_servers","model","name","skills","system","tools","type","version"],"description":"Resolved `agent` definition for a single `session_thread`. Snapshot of the agent at thread creation time. The multiagent roster is not repeated here; read it from `Session.agent`.","uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents.items.[INDEX]","typeLabel":"object"},"description":"Full `agent` definitions of the predefined agents, which are saved agents that a run's plan can use.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.predefined_agents","typeLabel":"object[]"},"type":{"type":"string","const":"enabled","description":"Always `enabled`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.0","typeLabel":"object"},{"type":"object","description":"Whether the agent can start workflow runs.","required":["type"],"properties":{"type":{"type":"string","const":"disabled","description":"Always `disabled`.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1.workflows","typeLabel":"object"}},"isRequired":true,"uniqueKey":"agent.multiagent.oneOf.1","typeLabel":"object"},{"type":"null","description":"Always null on BMA, which runs single-agent sessions.","isRequired":true,"uniqueKey":"agent.multiagent.oneOf.2","typeLabel":"null"}],"isRequired":true,"uniqueKey":"agent.multiagent","typeLabel":"object · object · null"},"name":{"type":"string","description":"The agent's name.","isRequired":true,"uniqueKey":"agent.name","typeLabel":"string"},"skills":{"type":"array","items":{"oneOf":[{"type":"object","description":"A resolved Anthropic-managed skill.","required":["skill_id","type","version"],"properties":{"skill_id":{"type":"string","description":"ID of the Anthropic skill. BMA hosts no Anthropic skills, so sessions never contain one.","isRequired":true,"uniqueKey":"agent.skills.items.[INDEX].oneOf.0.skill_id","typeLabel":"string"},"type":{"type":"string","const":"anthropic","description":"Always `anthropic`.","isRequired":true,"uniqueKey":"agent.skills.items.[INDEX].oneOf.0.type","typeLabel":"string"},"version":{"type":"string","description":"The skill version.","isRequired":true,"uniqueKey":"agent.skills.items.[INDEX].oneOf.0.version","typeLabel":"string"}},"uniqueKey":"agent.skills.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"A resolved user-created custom skill.","required":["skill_id","type","version"],"properties":{"skill_id":{"type":"string","description":"ID of the skill (`skl_` ID).","isRequired":true,"uniqueKey":"agent.skills.items.[INDEX].oneOf.1.skill_id","typeLabel":"string"},"type":{"type":"string","const":"custom","description":"Always `custom`.","isRequired":true,"uniqueKey":"agent.skills.items.[INDEX].oneOf.1.type","typeLabel":"string"},"version":{"type":"string","description":"The skill version the session uses (`skr_` ID), resolved when the session was created.","isRequired":true,"uniqueKey":"agent.skills.items.[INDEX].oneOf.1.version","typeLabel":"string"}},"uniqueKey":"agent.skills.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"agent.skills.items.[INDEX]","typeLabel":"object"},"description":"The session's skills with their resolved versions. Every entry is a `custom` skill and also carries `id`, which repeats `skill_id`.","isRequired":true,"uniqueKey":"agent.skills","typeLabel":"object[]"},"system":{"oneOf":[{"type":"string","description":"The system prompt: the agent's, or the session's override; null when there is none.","isRequired":true,"uniqueKey":"agent.system.oneOf.0","typeLabel":"string"},{"type":"null","description":"The system prompt: the agent's, or the session's override; null when there is none.","isRequired":true,"uniqueKey":"agent.system.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"agent.system","typeLabel":"string | null"},"tools":{"type":"array","items":{"oneOf":[{"type":"object","description":"The built-in agent toolset (bash, file and web tools) with its per-tool settings.","required":["configs","default_config","type"],"properties":{"configs":{"type":"array","items":{"oneOf":[{"type":"object","description":"Configuration for a specific agent tool.","required":["enabled","name","permission_policy","type"],"properties":{"enabled":{"type":"boolean","description":"Whether the agent may use the tool.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0.enabled","typeLabel":"boolean"},"name":{"type":"string","const":"bash","description":"Always `bash`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0.name","typeLabel":"string"},"permission_policy":{"oneOf":[{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_allow","description":"Always `always_allow`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0.permission_policy.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0.permission_policy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_ask","description":"Always `always_ask`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0.permission_policy.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0.permission_policy.oneOf.1","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"auto","description":"Always `auto`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0.permission_policy.oneOf.2.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0.permission_policy.oneOf.2","typeLabel":"object"}],"isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0.permission_policy","typeLabel":"object"},"type":{"type":"string","const":"bash","description":"Always `bash`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0.type","typeLabel":"string"}},"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"Configuration for a specific agent tool.","required":["enabled","name","permission_policy","type"],"properties":{"enabled":{"type":"boolean","description":"Whether the agent may use the tool.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1.enabled","typeLabel":"boolean"},"name":{"type":"string","const":"edit","description":"Always `edit`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1.name","typeLabel":"string"},"permission_policy":{"oneOf":[{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_allow","description":"Always `always_allow`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1.permission_policy.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1.permission_policy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_ask","description":"Always `always_ask`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1.permission_policy.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1.permission_policy.oneOf.1","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"auto","description":"Always `auto`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1.permission_policy.oneOf.2.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1.permission_policy.oneOf.2","typeLabel":"object"}],"isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1.permission_policy","typeLabel":"object"},"type":{"type":"string","const":"edit","description":"Always `edit`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1.type","typeLabel":"string"}},"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1","typeLabel":"object"},{"type":"object","description":"Configuration for a specific agent tool.","required":["enabled","name","permission_policy","type"],"properties":{"enabled":{"type":"boolean","description":"Whether the agent may use the tool.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2.enabled","typeLabel":"boolean"},"name":{"type":"string","const":"read","description":"Always `read`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2.name","typeLabel":"string"},"permission_policy":{"oneOf":[{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_allow","description":"Always `always_allow`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2.permission_policy.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2.permission_policy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_ask","description":"Always `always_ask`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2.permission_policy.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2.permission_policy.oneOf.1","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"auto","description":"Always `auto`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2.permission_policy.oneOf.2.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2.permission_policy.oneOf.2","typeLabel":"object"}],"isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2.permission_policy","typeLabel":"object"},"type":{"type":"string","const":"read","description":"Always `read`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2.type","typeLabel":"string"}},"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2","typeLabel":"object"},{"type":"object","description":"Configuration for a specific agent tool.","required":["enabled","name","permission_policy","type"],"properties":{"enabled":{"type":"boolean","description":"Whether the agent may use the tool.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3.enabled","typeLabel":"boolean"},"name":{"type":"string","const":"write","description":"Always `write`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3.name","typeLabel":"string"},"permission_policy":{"oneOf":[{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_allow","description":"Always `always_allow`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3.permission_policy.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3.permission_policy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_ask","description":"Always `always_ask`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3.permission_policy.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3.permission_policy.oneOf.1","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"auto","description":"Always `auto`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3.permission_policy.oneOf.2.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3.permission_policy.oneOf.2","typeLabel":"object"}],"isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3.permission_policy","typeLabel":"object"},"type":{"type":"string","const":"write","description":"Always `write`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3.type","typeLabel":"string"}},"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3","typeLabel":"object"},{"type":"object","description":"Configuration for a specific agent tool.","required":["enabled","name","permission_policy","type"],"properties":{"enabled":{"type":"boolean","description":"Whether the agent may use the tool.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4.enabled","typeLabel":"boolean"},"name":{"type":"string","const":"glob","description":"Always `glob`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4.name","typeLabel":"string"},"permission_policy":{"oneOf":[{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_allow","description":"Always `always_allow`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4.permission_policy.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4.permission_policy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_ask","description":"Always `always_ask`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4.permission_policy.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4.permission_policy.oneOf.1","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"auto","description":"Always `auto`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4.permission_policy.oneOf.2.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4.permission_policy.oneOf.2","typeLabel":"object"}],"isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4.permission_policy","typeLabel":"object"},"type":{"type":"string","const":"glob","description":"Always `glob`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4.type","typeLabel":"string"}},"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4","typeLabel":"object"},{"type":"object","description":"Configuration for a specific agent tool.","required":["enabled","name","permission_policy","type"],"properties":{"enabled":{"type":"boolean","description":"Whether the agent may use the tool.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5.enabled","typeLabel":"boolean"},"name":{"type":"string","const":"grep","description":"Always `grep`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5.name","typeLabel":"string"},"permission_policy":{"oneOf":[{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_allow","description":"Always `always_allow`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5.permission_policy.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5.permission_policy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_ask","description":"Always `always_ask`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5.permission_policy.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5.permission_policy.oneOf.1","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"auto","description":"Always `auto`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5.permission_policy.oneOf.2.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5.permission_policy.oneOf.2","typeLabel":"object"}],"isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5.permission_policy","typeLabel":"object"},"type":{"type":"string","const":"grep","description":"Always `grep`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5.type","typeLabel":"string"}},"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5","typeLabel":"object"},{"type":"object","description":"Configuration for a specific agent tool.","required":["enabled","name","permission_policy","type","url_sources"],"properties":{"enabled":{"type":"boolean","description":"Whether the agent may use the tool.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.enabled","typeLabel":"boolean"},"name":{"type":"string","const":"web_fetch","description":"Always `web_fetch`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.name","typeLabel":"string"},"permission_policy":{"oneOf":[{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_allow","description":"Always `always_allow`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.permission_policy.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.permission_policy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_ask","description":"Always `always_ask`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.permission_policy.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.permission_policy.oneOf.1","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"auto","description":"Always `auto`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.permission_policy.oneOf.2.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.permission_policy.oneOf.2","typeLabel":"object"}],"isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.permission_policy","typeLabel":"object"},"type":{"type":"string","const":"web_fetch","description":"Always `web_fetch`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.type","typeLabel":"string"},"url_sources":{"oneOf":[{"type":"object","description":"**Not supported on BMA:** Always null; BMA's `web_fetch` may fetch a URL from any source.\n\nWhich sources contribute URLs the tool may fetch, always in the object form. Null when not set, which allows every source.","required":["client_tool_results","server_tool_results","user_input"],"x-bma-unsupported":"Always null; BMA's `web_fetch` may fetch a URL from any source.","properties":{"client_tool_results":{"oneOf":[{"type":"object","description":"Which custom tools' results contribute URLs that may be fetched. Null when not set, which allows every custom tool's results.","required":["type"],"properties":{"type":{"type":"string","const":"all","description":"Always `all`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.0","typeLabel":"object"},{"type":"object","description":"Which custom tools' results contribute URLs that may be fetched. Null when not set, which allows every custom tool's results.","required":["type"],"properties":{"type":{"type":"string","const":"none","description":"Always `none`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.1","typeLabel":"object"},{"type":"object","description":"Which custom tools' results contribute URLs that may be fetched. Null when not set, which allows every custom tool's results.","required":["tools","type"],"properties":{"tools":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Name of the tool. Compared exactly, so upper and lower case letters are different.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.2.tools.items.[INDEX].name","typeLabel":"string"},"type":{"type":"string","const":"tool_reference","description":"Must be \"tool_reference\".","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.2.tools.items.[INDEX].type","typeLabel":"string"}},"required":["name","type"],"description":"Names one tool in an only or except list.","uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.2.tools.items.[INDEX]","typeLabel":"object"},"description":"The tools whose results contribute. Between 1 and 128 entries, each with a different name. An empty list is rejected; use \"none\" to allow no tool's results.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.2.tools","typeLabel":"object[]"},"type":{"type":"string","const":"only","description":"Always `only`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.2.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.2","typeLabel":"object"},{"type":"object","description":"Which custom tools' results contribute URLs that may be fetched. Null when not set, which allows every custom tool's results.","required":["tools","type"],"properties":{"tools":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Name of the tool. Compared exactly, so upper and lower case letters are different.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.3.tools.items.[INDEX].name","typeLabel":"string"},"type":{"type":"string","const":"tool_reference","description":"Must be \"tool_reference\".","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.3.tools.items.[INDEX].type","typeLabel":"string"}},"required":["name","type"],"description":"Names one tool in an only or except list.","uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.3.tools.items.[INDEX]","typeLabel":"object"},"description":"The tools whose results do not contribute. Between 1 and 128 entries, each with a different name. An empty list is rejected; use \"all\" to leave out no tool's results.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.3.tools","typeLabel":"object[]"},"type":{"type":"string","const":"except","description":"Always `except`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.3.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.3","typeLabel":"object"},{"type":"null","description":"Which custom tools' results contribute URLs that may be fetched. Null when not set, which allows every custom tool's results.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.4","typeLabel":"null"}],"isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results","typeLabel":"object · object · object · object · null"},"server_tool_results":{"oneOf":[{"type":"object","description":"Which of the web_search and web_fetch tools' results contribute URLs that may be fetched. Null when not set, which allows both.","required":["type"],"properties":{"type":{"type":"string","const":"all","description":"Always `all`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.0","typeLabel":"object"},{"type":"object","description":"Which of the web_search and web_fetch tools' results contribute URLs that may be fetched. Null when not set, which allows both.","required":["type"],"properties":{"type":{"type":"string","const":"none","description":"Always `none`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.1","typeLabel":"object"},{"type":"object","description":"Which of the web_search and web_fetch tools' results contribute URLs that may be fetched. Null when not set, which allows both.","required":["tools","type"],"properties":{"tools":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Name of the tool. Compared exactly, so upper and lower case letters are different.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.2.tools.items.[INDEX].name","typeLabel":"string"},"type":{"type":"string","const":"tool_reference","description":"Must be \"tool_reference\".","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.2.tools.items.[INDEX].type","typeLabel":"string"}},"required":["name","type"],"description":"Names one tool in an only or except list.","uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.2.tools.items.[INDEX]","typeLabel":"object"},"description":"The tools whose results contribute. Between 1 and 128 entries, each with a different name. An empty list is rejected; use \"none\" to allow no tool's results.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.2.tools","typeLabel":"object[]"},"type":{"type":"string","const":"only","description":"Always `only`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.2.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.2","typeLabel":"object"},{"type":"object","description":"Which of the web_search and web_fetch tools' results contribute URLs that may be fetched. Null when not set, which allows both.","required":["tools","type"],"properties":{"tools":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Name of the tool. Compared exactly, so upper and lower case letters are different.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.3.tools.items.[INDEX].name","typeLabel":"string"},"type":{"type":"string","const":"tool_reference","description":"Must be \"tool_reference\".","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.3.tools.items.[INDEX].type","typeLabel":"string"}},"required":["name","type"],"description":"Names one tool in an only or except list.","uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.3.tools.items.[INDEX]","typeLabel":"object"},"description":"The tools whose results do not contribute. Between 1 and 128 entries, each with a different name. An empty list is rejected; use \"all\" to leave out no tool's results.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.3.tools","typeLabel":"object[]"},"type":{"type":"string","const":"except","description":"Always `except`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.3.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.3","typeLabel":"object"},{"type":"null","description":"Which of the web_search and web_fetch tools' results contribute URLs that may be fetched. Null when not set, which allows both.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.4","typeLabel":"null"}],"isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results","typeLabel":"object · object · object · object · null"},"user_input":{"oneOf":[{"type":"object","description":"Whether URLs in the text of user messages may be fetched. Null when not set, which allows them.","required":["type"],"properties":{"type":{"type":"string","const":"all","description":"Always `all`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.user_input.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.user_input.oneOf.0","typeLabel":"object"},{"type":"object","description":"Whether URLs in the text of user messages may be fetched. Null when not set, which allows them.","required":["type"],"properties":{"type":{"type":"string","const":"none","description":"Always `none`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.user_input.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.user_input.oneOf.1","typeLabel":"object"},{"type":"null","description":"Whether URLs in the text of user messages may be fetched. Null when not set, which allows them.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.user_input.oneOf.2","typeLabel":"null"}],"isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.user_input","typeLabel":"object · object · null"}},"isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0","typeLabel":"object"},{"type":"null","description":"**Not supported on BMA:** Always null; BMA's `web_fetch` may fetch a URL from any source.\n\nWhich sources contribute URLs the tool may fetch, always in the object form. Null when not set, which allows every source.","x-bma-unsupported":"Always null; BMA's `web_fetch` may fetch a URL from any source.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources","typeLabel":"object | null"},"allowed_domains":{"type":"array","items":{"type":"string","uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.allowed_domains.items.[INDEX]","typeLabel":"string"},"x-bma-unsupported":"Never returned; BMA does not restrict the domains `web_fetch` fetches from.","description":"**Not supported on BMA:** Never returned; BMA does not restrict the domains `web_fetch` fetches from.","uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.allowed_domains","typeLabel":"string[]"},"blocked_domains":{"type":"array","items":{"type":"string","uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.blocked_domains.items.[INDEX]","typeLabel":"string"},"x-bma-unsupported":"Never returned; BMA does not restrict the domains `web_fetch` fetches from.","description":"**Not supported on BMA:** Never returned; BMA does not restrict the domains `web_fetch` fetches from.","uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.blocked_domains","typeLabel":"string[]"},"max_content_tokens":{"oneOf":[{"type":"number","x-bma-unsupported":"Never returned; BMA returns fetched content whole.","description":"**Not supported on BMA:** Never returned; BMA returns fetched content whole.","uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.max_content_tokens.oneOf.0","typeLabel":"number"},{"type":"null","x-bma-unsupported":"Never returned; BMA returns fetched content whole.","description":"**Not supported on BMA:** Never returned; BMA returns fetched content whole.","uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.max_content_tokens.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.max_content_tokens","typeLabel":"number | null"}},"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6","typeLabel":"object"},{"type":"object","description":"Configuration for a specific agent tool.","required":["enabled","name","permission_policy","type"],"properties":{"enabled":{"type":"boolean","description":"Whether the agent may use the tool.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.enabled","typeLabel":"boolean"},"name":{"type":"string","const":"web_search","description":"Always `web_search`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.name","typeLabel":"string"},"permission_policy":{"oneOf":[{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_allow","description":"Always `always_allow`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.permission_policy.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.permission_policy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_ask","description":"Always `always_ask`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.permission_policy.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.permission_policy.oneOf.1","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"auto","description":"Always `auto`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.permission_policy.oneOf.2.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.permission_policy.oneOf.2","typeLabel":"object"}],"isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.permission_policy","typeLabel":"object"},"type":{"type":"string","const":"web_search","description":"Always `web_search`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.type","typeLabel":"string"},"allowed_domains":{"type":"array","items":{"type":"string","uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.allowed_domains.items.[INDEX]","typeLabel":"string"},"description":"Domains search results may come from; when set, others are left out.","uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.allowed_domains","typeLabel":"string[]"},"blocked_domains":{"type":"array","items":{"type":"string","uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.blocked_domains.items.[INDEX]","typeLabel":"string"},"description":"Domains search results may not come from.","uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.blocked_domains","typeLabel":"string[]"},"user_location":{"oneOf":[{"type":"object","description":"Approximate user location for search result localization.","required":["type"],"properties":{"type":{"type":"string","const":"approximate","description":"Location precision. Only \"approximate\" is supported.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.type","typeLabel":"string"},"city":{"oneOf":[{"type":"string","description":"City name.","uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.city.oneOf.0","typeLabel":"string"},{"type":"null","description":"City name.","uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.city","typeLabel":"string | null"},"country":{"oneOf":[{"type":"string","description":"Two-letter ISO 3166-1 country code, uppercase.","uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.country.oneOf.0","typeLabel":"string"},{"type":"null","description":"Two-letter ISO 3166-1 country code, uppercase.","uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.country","typeLabel":"string | null"},"region":{"oneOf":[{"type":"string","description":"Region or state name.","uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.region.oneOf.0","typeLabel":"string"},{"type":"null","description":"Region or state name.","uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.region.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.region","typeLabel":"string | null"},"timezone":{"oneOf":[{"type":"string","description":"IANA timezone identifier, e.g. \"America/Los_Angeles\".","uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.timezone.oneOf.0","typeLabel":"string"},{"type":"null","description":"IANA timezone identifier, e.g. \"America/Los_Angeles\".","uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.timezone.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0.timezone","typeLabel":"string | null"}},"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.0","typeLabel":"object"},{"type":"null","description":"Approximate user location for search result localization.","uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.user_location","typeLabel":"object | null"}},"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7","typeLabel":"object"}],"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX]","typeLabel":"object"},"description":"Per-tool settings that differ from `default_config`, one entry per named tool.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs","typeLabel":"object[]"},"default_config":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the toolset's tools are available unless a `configs` entry says otherwise.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.default_config.enabled","typeLabel":"boolean"},"permission_policy":{"oneOf":[{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_allow","description":"Always `always_allow`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.default_config.permission_policy.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.default_config.permission_policy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_ask","description":"Always `always_ask`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.default_config.permission_policy.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.default_config.permission_policy.oneOf.1","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"auto","description":"Always `auto`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.default_config.permission_policy.oneOf.2.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.default_config.permission_policy.oneOf.2","typeLabel":"object"}],"isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.default_config.permission_policy","typeLabel":"object"}},"required":["enabled","permission_policy"],"description":"Resolved default configuration for agent tools.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.default_config","typeLabel":"object"},"type":{"type":"string","const":"agent_toolset_20260401","description":"Always `agent_toolset_20260401`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.type","typeLabel":"string"}},"uniqueKey":"agent.tools.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"The tools of one MCP server of the agent, with per-tool settings.","required":["configs","default_config","mcp_server_name","type"],"properties":{"configs":{"type":"array","items":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the agent may use the tool.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.1.configs.items.[INDEX].enabled","typeLabel":"boolean"},"name":{"type":"string","description":"Name of the MCP tool, as the server lists it.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.1.configs.items.[INDEX].name","typeLabel":"string"},"permission_policy":{"oneOf":[{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_allow","description":"Always `always_allow`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.1.configs.items.[INDEX].permission_policy.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.1.configs.items.[INDEX].permission_policy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_ask","description":"Always `always_ask`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.1.configs.items.[INDEX].permission_policy.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.1.configs.items.[INDEX].permission_policy.oneOf.1","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"auto","description":"Always `auto`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.1.configs.items.[INDEX].permission_policy.oneOf.2.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.1.configs.items.[INDEX].permission_policy.oneOf.2","typeLabel":"object"}],"isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.1.configs.items.[INDEX].permission_policy","typeLabel":"object"}},"required":["enabled","name","permission_policy"],"description":"Resolved configuration for a specific MCP tool.","uniqueKey":"agent.tools.items.[INDEX].oneOf.1.configs.items.[INDEX]","typeLabel":"object"},"description":"Per-tool settings that differ from `default_config`, one entry per named tool.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.1.configs","typeLabel":"object[]"},"default_config":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the server's tools are available unless a `configs` entry says otherwise.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.1.default_config.enabled","typeLabel":"boolean"},"permission_policy":{"oneOf":[{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_allow","description":"Always `always_allow`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.1.default_config.permission_policy.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.1.default_config.permission_policy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"always_ask","description":"Always `always_ask`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.1.default_config.permission_policy.oneOf.1.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.1.default_config.permission_policy.oneOf.1","typeLabel":"object"},{"type":"object","description":"Permission policy for tool execution.","required":["type"],"properties":{"type":{"type":"string","const":"auto","description":"Always `auto`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.1.default_config.permission_policy.oneOf.2.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.1.default_config.permission_policy.oneOf.2","typeLabel":"object"}],"isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.1.default_config.permission_policy","typeLabel":"object"}},"required":["enabled","permission_policy"],"description":"Resolved default configuration for all tools from an MCP server.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.1.default_config","typeLabel":"object"},"mcp_server_name":{"type":"string","description":"Name of the agent's MCP server (`mcp_servers[].name`) whose tools this toolset exposes.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.1.mcp_server_name","typeLabel":"string"},"type":{"type":"string","const":"mcp_toolset","description":"Always `mcp_toolset`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.1.type","typeLabel":"string"}},"uniqueKey":"agent.tools.items.[INDEX].oneOf.1","typeLabel":"object"},{"type":"object","description":"A custom tool as returned in API responses.","required":["description","input_schema","name","type"],"properties":{"description":{"type":"string","description":"What the tool does, shown to the model.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.2.description","typeLabel":"string"},"input_schema":{"type":"object","properties":{"type":{"type":"string","const":"object","description":"Always `object`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.2.input_schema.type","typeLabel":"string"},"properties":{"oneOf":[{"type":"object","description":"JSON Schema of each input member, keyed by member name.","additionalProperties":{"oneOf":[{}],"uniqueKey":"agent.tools.items.[INDEX].oneOf.2.input_schema.properties.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"agent.tools.items.[INDEX].oneOf.2.input_schema.properties.oneOf.0","typeLabel":"object"},{"type":"null","description":"JSON Schema of each input member, keyed by member name.","uniqueKey":"agent.tools.items.[INDEX].oneOf.2.input_schema.properties.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.tools.items.[INDEX].oneOf.2.input_schema.properties","typeLabel":"object | null"},"required":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"agent.tools.items.[INDEX].oneOf.2.input_schema.required.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"Names of the input members the model must provide.","uniqueKey":"agent.tools.items.[INDEX].oneOf.2.input_schema.required.oneOf.0","typeLabel":"string[]"},{"type":"null","description":"Names of the input members the model must provide.","uniqueKey":"agent.tools.items.[INDEX].oneOf.2.input_schema.required.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.tools.items.[INDEX].oneOf.2.input_schema.required","typeLabel":"string[] | null"}},"required":["type"],"additionalProperties":{"oneOf":[{}],"uniqueKey":"agent.tools.items.[INDEX].oneOf.2.input_schema.additionalProperties","typeLabel":"any"},"description":"JSON Schema for custom tool input parameters.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.2.input_schema","typeLabel":"object"},"name":{"type":"string","description":"Name of the tool; the agent's calls name it in `agent.custom_tool_use`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.2.name","typeLabel":"string"},"type":{"type":"string","const":"custom","description":"Always `custom`.","isRequired":true,"uniqueKey":"agent.tools.items.[INDEX].oneOf.2.type","typeLabel":"string"}},"uniqueKey":"agent.tools.items.[INDEX].oneOf.2","typeLabel":"object"}],"uniqueKey":"agent.tools.items.[INDEX]","typeLabel":"object"},"description":"The agent's tools, or `[]` when the session cleared them.","isRequired":true,"uniqueKey":"agent.tools","typeLabel":"object[]"},"type":{"description":"Always `agent`.","type":"string","const":"agent","isRequired":true,"uniqueKey":"agent.type","typeLabel":"string"},"version":{"type":"number","description":"The agent version the session runs.","isRequired":true,"uniqueKey":"agent.version","typeLabel":"number"}},"required":["id","description","execution_identity","mcp_servers","model","multiagent","name","skills","system","tools","type","version"],"description":"The agent the session runs, snapshotted when the session was created: the agent version with the session's own `model` and `system` overrides and its skills with every version resolved. It never changes afterwards.","isRequired":true,"uniqueKey":"agent","typeLabel":"object"},"archived_at":{"oneOf":[{"type":"string","description":"When the session was archived (RFC 3339, UTC); null while it is not archived.","isRequired":true,"uniqueKey":"archived_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"When the session was archived (RFC 3339, UTC); null while it is not archived.","isRequired":true,"uniqueKey":"archived_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"archived_at","typeLabel":"string | null"},"budget":{"oneOf":[{"type":"object","description":"Always null on BMA, which does not support session budgets.","required":["max_list_cost","type"],"properties":{"max_list_cost":{"type":"object","properties":{"amount":{"type":"string","description":"Amount in minor units of the currency, as an integer decimal string with no leading zeros: \"2500\" is $25.00 and \"50\" is fifty cents. A string rather than a number so no float rounding is ever applied.","isRequired":true,"uniqueKey":"budget.oneOf.0.max_list_cost.amount","typeLabel":"string"},"currency":{"type":"string","const":"USD","description":"Uppercase ISO-4217 currency code. `USD` is the only currency currently supported; the accepted set is closed and grows only when a new currency is priced.","isRequired":true,"uniqueKey":"budget.oneOf.0.max_list_cost.currency","typeLabel":"string"}},"required":["amount","currency"],"description":"Maximum list cost the session may accrue. List price is used regardless of any negotiated discount, so the cap fires at or before the actual charge.","isRequired":true,"uniqueKey":"budget.oneOf.0.max_list_cost","typeLabel":"object"},"type":{"type":"string","const":"limit","description":"Always `limit`.","isRequired":true,"uniqueKey":"budget.oneOf.0.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"budget.oneOf.0","typeLabel":"object"},{"type":"null","description":"Always null on BMA, which does not support session budgets.","isRequired":true,"uniqueKey":"budget.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"budget","typeLabel":"object | null"},"created_at":{"type":"string","description":"When the session was created (RFC 3339, UTC, up to microsecond precision).","isRequired":true,"uniqueKey":"created_at","typeLabel":"string"},"environment_id":{"type":"string","description":"ID of the environment the session runs in (`env_`, or `mch_` for a machine environment); an empty string when the session was created without one.","isRequired":true,"uniqueKey":"environment_id","typeLabel":"string"},"metadata":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"metadata.additionalProperties","typeLabel":"string"},"description":"The session's key-value metadata, `{}` when it has none.","isRequired":true,"uniqueKey":"metadata","typeLabel":"object"},"outcome_evaluations":{"type":"array","items":{"type":"object","properties":{"completed_at":{"oneOf":[{"type":"string","description":"When the outcome reached a terminal result. Null while `pending`/`running`/`evaluating`.","isRequired":true,"uniqueKey":"outcome_evaluations.items.[INDEX].completed_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"When the outcome reached a terminal result. Null while `pending`/`running`/`evaluating`.","isRequired":true,"uniqueKey":"outcome_evaluations.items.[INDEX].completed_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"outcome_evaluations.items.[INDEX].completed_at","typeLabel":"string | null"},"description":{"type":"string","description":"What the agent should produce.","isRequired":true,"uniqueKey":"outcome_evaluations.items.[INDEX].description","typeLabel":"string"},"explanation":{"oneOf":[{"type":"string","description":"Grader's verdict text from the most recent evaluation. For `satisfied`, explains why criteria are met; for `needs_revision` (intermediate), what's missing; for `failed`, why unrecoverable.","isRequired":true,"uniqueKey":"outcome_evaluations.items.[INDEX].explanation.oneOf.0","typeLabel":"string"},{"type":"null","description":"Grader's verdict text from the most recent evaluation. For `satisfied`, explains why criteria are met; for `needs_revision` (intermediate), what's missing; for `failed`, why unrecoverable.","isRequired":true,"uniqueKey":"outcome_evaluations.items.[INDEX].explanation.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"outcome_evaluations.items.[INDEX].explanation","typeLabel":"string | null"},"iteration":{"type":"number","description":"0-indexed revision cycle the outcome is currently on.","isRequired":true,"uniqueKey":"outcome_evaluations.items.[INDEX].iteration","typeLabel":"number"},"outcome_id":{"type":"string","description":"Server-generated outc_ ID for this outcome.","isRequired":true,"uniqueKey":"outcome_evaluations.items.[INDEX].outcome_id","typeLabel":"string"},"result":{"type":"string","description":"Current evaluation state. `pending` before the agent begins work; `running` while producing or revising; `evaluating` while the grader scores; `satisfied`/`max_iterations_reached`/`failed`/`interrupted` are terminal.","isRequired":true,"uniqueKey":"outcome_evaluations.items.[INDEX].result","typeLabel":"string"},"type":{"type":"string","const":"outcome_evaluation","description":"Always `outcome_evaluation`.","isRequired":true,"uniqueKey":"outcome_evaluations.items.[INDEX].type","typeLabel":"string"}},"required":["completed_at","description","explanation","iteration","outcome_id","result","type"],"description":"Evaluation state for a single outcome defined via a `define_outcome` event.","uniqueKey":"outcome_evaluations.items.[INDEX]","typeLabel":"object"},"description":"Always an empty list on BMA, which does not support outcomes.","isRequired":true,"uniqueKey":"outcome_evaluations","typeLabel":"object[]"},"resources":{"type":"array","items":{"oneOf":[{"type":"object","description":"A resource mounted in a session: a `file` or a `memory_store`. BMA never mounts `github_repository` resources.","required":["id","created_at","mount_path","type","updated_at","url"],"properties":{"id":{"type":"string","description":"ID of the resource.","isRequired":true,"uniqueKey":"resources.items.[INDEX].oneOf.0.id","typeLabel":"string"},"created_at":{"type":"string","description":"A timestamp in RFC 3339 format","isRequired":true,"uniqueKey":"resources.items.[INDEX].oneOf.0.created_at","typeLabel":"string"},"mount_path":{"type":"string","description":"Where the repository is checked out.","isRequired":true,"uniqueKey":"resources.items.[INDEX].oneOf.0.mount_path","typeLabel":"string"},"type":{"type":"string","const":"github_repository","description":"Always `github_repository`.","isRequired":true,"uniqueKey":"resources.items.[INDEX].oneOf.0.type","typeLabel":"string"},"updated_at":{"type":"string","description":"A timestamp in RFC 3339 format","isRequired":true,"uniqueKey":"resources.items.[INDEX].oneOf.0.updated_at","typeLabel":"string"},"url":{"type":"string","description":"URL of the repository.","isRequired":true,"uniqueKey":"resources.items.[INDEX].oneOf.0.url","typeLabel":"string"},"checkout":{"oneOf":[{"type":"object","description":"The branch or commit checked out.","required":["name","type"],"properties":{"name":{"type":"string","description":"Branch name to check out.","isRequired":true,"uniqueKey":"resources.items.[INDEX].oneOf.0.checkout.oneOf.0.name","typeLabel":"string"},"type":{"type":"string","const":"branch","description":"Always `branch`.","isRequired":true,"uniqueKey":"resources.items.[INDEX].oneOf.0.checkout.oneOf.0.type","typeLabel":"string"}},"uniqueKey":"resources.items.[INDEX].oneOf.0.checkout.oneOf.0","typeLabel":"object"},{"type":"object","description":"The branch or commit checked out.","required":["sha","type"],"properties":{"sha":{"type":"string","description":"Full commit SHA to check out.","isRequired":true,"uniqueKey":"resources.items.[INDEX].oneOf.0.checkout.oneOf.1.sha","typeLabel":"string"},"type":{"type":"string","const":"commit","description":"Always `commit`.","isRequired":true,"uniqueKey":"resources.items.[INDEX].oneOf.0.checkout.oneOf.1.type","typeLabel":"string"}},"uniqueKey":"resources.items.[INDEX].oneOf.0.checkout.oneOf.1","typeLabel":"object"},{"type":"null","description":"The branch or commit checked out.","uniqueKey":"resources.items.[INDEX].oneOf.0.checkout.oneOf.2","typeLabel":"null"}],"uniqueKey":"resources.items.[INDEX].oneOf.0.checkout","typeLabel":"object · object · null"}},"uniqueKey":"resources.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"A resource mounted in a session: a `file` or a `memory_store`. BMA never mounts `github_repository` resources.","required":["id","created_at","file_id","mount_path","type","updated_at"],"properties":{"id":{"type":"string","description":"ID of the resource (`sesrsc_` followed by 26 lowercase base32 characters).","isRequired":true,"uniqueKey":"resources.items.[INDEX].oneOf.1.id","typeLabel":"string"},"created_at":{"type":"string","description":"When the file was mounted (RFC 3339, UTC, up to microsecond precision).","isRequired":true,"uniqueKey":"resources.items.[INDEX].oneOf.1.created_at","typeLabel":"string"},"file_id":{"type":"string","description":"ID of the mounted file (`file_` ID).","isRequired":true,"uniqueKey":"resources.items.[INDEX].oneOf.1.file_id","typeLabel":"string"},"mount_path":{"type":"string","description":"Where the file is mounted: `/mnt/session/uploads/\u003cfile_id>` by default, else the requested path below `/mnt/session/uploads/`.","isRequired":true,"uniqueKey":"resources.items.[INDEX].oneOf.1.mount_path","typeLabel":"string"},"type":{"type":"string","const":"file","description":"Always `file`.","isRequired":true,"uniqueKey":"resources.items.[INDEX].oneOf.1.type","typeLabel":"string"},"updated_at":{"type":"string","description":"When the resource last changed (RFC 3339, UTC, up to microsecond precision).","isRequired":true,"uniqueKey":"resources.items.[INDEX].oneOf.1.updated_at","typeLabel":"string"}},"uniqueKey":"resources.items.[INDEX].oneOf.1","typeLabel":"object"},{"type":"object","description":"A resource mounted in a session: a `file` or a `memory_store`. BMA never mounts `github_repository` resources.","required":["memory_store_id","type"],"properties":{"memory_store_id":{"type":"string","description":"The memory store ID (memstore_...). Must belong to the caller's organization and workspace.","isRequired":true,"uniqueKey":"resources.items.[INDEX].oneOf.2.memory_store_id","typeLabel":"string"},"type":{"type":"string","const":"memory_store","description":"Always `memory_store`.","isRequired":true,"uniqueKey":"resources.items.[INDEX].oneOf.2.type","typeLabel":"string"},"access":{"oneOf":[{"type":"string","enum":["read_write","read_only",null],"description":"Access mode for the mounted store. Defaults to `read_write`. `read_only` mounts the store as a read-only filesystem.","uniqueKey":"resources.items.[INDEX].oneOf.2.access.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["read_write","read_only",null],"description":"Access mode for the mounted store. Defaults to `read_write`. `read_only` mounts the store as a read-only filesystem.","uniqueKey":"resources.items.[INDEX].oneOf.2.access.oneOf.1","typeLabel":"null"}],"uniqueKey":"resources.items.[INDEX].oneOf.2.access","typeLabel":"enum\u003cstring> | null"},"description":{"type":"string","description":"Description of the memory store, snapshotted at attach time. Rendered into the agent's system prompt. Empty string when the store has no description.","uniqueKey":"resources.items.[INDEX].oneOf.2.description","typeLabel":"string"},"instructions":{"oneOf":[{"type":"string","description":"Per-attachment guidance for the agent on how to use this store. Rendered into the memory section of the system prompt. Max 4096 chars.","uniqueKey":"resources.items.[INDEX].oneOf.2.instructions.oneOf.0","typeLabel":"string"},{"type":"null","description":"Per-attachment guidance for the agent on how to use this store. Rendered into the memory section of the system prompt. Max 4096 chars.","uniqueKey":"resources.items.[INDEX].oneOf.2.instructions.oneOf.1","typeLabel":"null"}],"uniqueKey":"resources.items.[INDEX].oneOf.2.instructions","typeLabel":"string | null"},"mount_path":{"oneOf":[{"type":"string","description":"Where the store is mounted, `/mnt/memory/` followed by a lower-case form of the store's name.","uniqueKey":"resources.items.[INDEX].oneOf.2.mount_path.oneOf.0","typeLabel":"string"},{"type":"null","description":"Where the store is mounted, `/mnt/memory/` followed by a lower-case form of the store's name.","uniqueKey":"resources.items.[INDEX].oneOf.2.mount_path.oneOf.1","typeLabel":"null"}],"uniqueKey":"resources.items.[INDEX].oneOf.2.mount_path","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"Display name of the memory store, snapshotted at attach time. Later edits to the store's name do not propagate to this resource.","uniqueKey":"resources.items.[INDEX].oneOf.2.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Display name of the memory store, snapshotted at attach time. Later edits to the store's name do not propagate to this resource.","uniqueKey":"resources.items.[INDEX].oneOf.2.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"resources.items.[INDEX].oneOf.2.name","typeLabel":"string | null"}},"uniqueKey":"resources.items.[INDEX].oneOf.2","typeLabel":"object"}],"uniqueKey":"resources.items.[INDEX]","typeLabel":"object"},"description":"What the session mounts, in the order it was mounted: `file` and `memory_store` resources. BMA never mounts `github_repository` resources.","isRequired":true,"uniqueKey":"resources","typeLabel":"object[]"},"stats":{"type":"object","properties":{"active_seconds":{"type":"number","description":"Cumulative time in seconds the session spent in `running` status. Excludes idle time.","uniqueKey":"stats.active_seconds","typeLabel":"number"},"duration_seconds":{"type":"number","description":"Elapsed time since session creation in seconds. For terminated sessions, frozen at the final update.","uniqueKey":"stats.duration_seconds","typeLabel":"number"}},"description":"Timing statistics in seconds. `active_seconds`: the time the session's turns ran, less the time they waited for a tool confirmation or custom tool result; time queued behind an earlier turn is not counted. `duration_seconds`: the time since the session was created, frozen when it terminated or was archived.","isRequired":true,"uniqueKey":"stats","typeLabel":"object"},"status":{"type":"string","enum":["rescheduling","running","idle","terminated"],"description":"`idle` (no turn runs, also while the agent waits for a tool confirmation or custom tool result), `running` (a turn is queued or runs) or `terminated` (archived). BMA never reports `rescheduling`.","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"title":{"oneOf":[{"type":"string","description":"The session's title; null while it has none. An untitled session may be titled automatically after its first answered turn.","isRequired":true,"uniqueKey":"title.oneOf.0","typeLabel":"string"},{"type":"null","description":"The session's title; null while it has none. An untitled session may be titled automatically after its first answered turn.","isRequired":true,"uniqueKey":"title.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"title","typeLabel":"string | null"},"type":{"type":"string","const":"session","description":"Always `session`.","isRequired":true,"uniqueKey":"type","typeLabel":"string"},"updated_at":{"type":"string","description":"When the session last changed (RFC 3339, UTC, up to microsecond precision).","isRequired":true,"uniqueKey":"updated_at","typeLabel":"string"},"usage":{"type":"object","properties":{"active_seconds":{"type":"number","description":"The time the session ran, in seconds. A session runs one turn at a time, so it equals `stats.active_seconds`.","uniqueKey":"usage.active_seconds","typeLabel":"number"},"cache_creation":{"type":"object","properties":{"ephemeral_1h_input_tokens":{"type":"number","description":"Tokens used to create 1-hour ephemeral cache entries.","uniqueKey":"usage.cache_creation.ephemeral_1h_input_tokens","typeLabel":"number"},"ephemeral_5m_input_tokens":{"type":"number","description":"Tokens used to create 5-minute ephemeral cache entries.","uniqueKey":"usage.cache_creation.ephemeral_5m_input_tokens","typeLabel":"number"}},"description":"Tokens written to the prompt cache. BMA counts them all as `ephemeral_5m_input_tokens`; `ephemeral_1h_input_tokens` is always 0.","uniqueKey":"usage.cache_creation","typeLabel":"object"},"cache_read_input_tokens":{"type":"number","description":"Total tokens read from prompt cache.","uniqueKey":"usage.cache_read_input_tokens","typeLabel":"number"},"input_tokens":{"type":"number","description":"Total input tokens consumed across all turns.","uniqueKey":"usage.input_tokens","typeLabel":"number"},"list_cost":{"oneOf":[{"type":"object","description":"Cumulative list cost of the session's model requests, in US cents (`amount` is an integer string).","required":["amount","currency"],"properties":{"amount":{"type":"string","description":"Amount in minor units of the currency, as an integer decimal string with no leading zeros: \"2500\" is $25.00 and \"50\" is fifty cents. A string rather than a number so no float rounding is ever applied.","isRequired":true,"uniqueKey":"usage.list_cost.oneOf.0.amount","typeLabel":"string"},"currency":{"type":"string","const":"USD","description":"Uppercase ISO-4217 currency code. `USD` is the only currency currently supported; the accepted set is closed and grows only when a new currency is priced.","isRequired":true,"uniqueKey":"usage.list_cost.oneOf.0.currency","typeLabel":"string"}},"uniqueKey":"usage.list_cost.oneOf.0","typeLabel":"object"},{"type":"null","description":"Cumulative list cost of the session's model requests, in US cents (`amount` is an integer string).","uniqueKey":"usage.list_cost.oneOf.1","typeLabel":"null"}],"uniqueKey":"usage.list_cost","typeLabel":"object | null"},"output_tokens":{"type":"number","description":"Total output tokens generated across all turns.","uniqueKey":"usage.output_tokens","typeLabel":"number"},"server_tool_use":{"oneOf":[{"type":"object","description":"Calls of the platform's `web_search` and `web_fetch` tools (`web_search_requests`, `web_fetch_requests`), counted when the session's usage is brought up to date at each idle.","properties":{"web_fetch_requests":{"type":"number","description":"Number of server-executed web fetch requests.","uniqueKey":"usage.server_tool_use.oneOf.0.web_fetch_requests","typeLabel":"number"},"web_search_requests":{"type":"number","description":"Number of server-executed web search requests.","uniqueKey":"usage.server_tool_use.oneOf.0.web_search_requests","typeLabel":"number"}},"uniqueKey":"usage.server_tool_use.oneOf.0","typeLabel":"object"},{"type":"null","description":"Calls of the platform's `web_search` and `web_fetch` tools (`web_search_requests`, `web_fetch_requests`), counted when the session's usage is brought up to date at each idle.","uniqueKey":"usage.server_tool_use.oneOf.1","typeLabel":"null"}],"uniqueKey":"usage.server_tool_use","typeLabel":"object | null"}},"description":"Cumulative usage of the session's model requests, updated when a turn ends: token counts, cache creation tokens and the list cost in US cents.","isRequired":true,"uniqueKey":"usage","typeLabel":"object"},"vault_ids":{"type":"array","items":{"type":"string","uniqueKey":"vault_ids.items.[INDEX]","typeLabel":"string"},"description":"Vaults (`vlt_` IDs) the session was created with, in order; empty when none.","isRequired":true,"uniqueKey":"vault_ids","typeLabel":"string[]"},"deployment_id":{"oneOf":[{"type":"string","description":"The deployment whose run created the session; null for sessions created through this API.","uniqueKey":"deployment_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The deployment whose run created the session; null for sessions created through this API.","uniqueKey":"deployment_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"deployment_id","typeLabel":"string | null"}},"required":["id","agent","archived_at","budget","created_at","environment_id","metadata","outcome_evaluations","resources","stats","status","title","type","updated_at","usage","vault_ids"],"description":"A Managed Agents `session`.","uniqueKey":"","typeLabel":"object"},"example":{"type":"session","id":"ses_agray4o575ytrcguudsrm73sbq","agent":{"type":"agent","id":"aprf_agray4o575yzni6unfhge6obhm","version":3,"name":"Report writer","description":"Drafts quarterly reports from uploaded data.","system":"You write concise business reports. Cite the data files you used.","model":{"id":"claude-sonnet-4-5","effort":{"type":"medium"}},"tools":[{"type":"agent_toolset_20260401","configs":[],"default_config":{"enabled":true,"permission_policy":{"type":"always_allow"}}}],"mcp_servers":[],"skills":[{"type":"custom","skill_id":"skl_agray4o575y4tdjvgdeqmbgziq","version":"skr_agray4o575y4vasjf3qab2luki","id":"skl_agray4o575y4tdjvgdeqmbgziq"}],"multiagent":null,"execution_identity":{"type":"service_account"}},"environment_id":"env_agray4o575yzvcl662kzmeilr4","title":"Q3 revenue report","status":"idle","metadata":{"ticket":"OPS-1423"},"resources":[{"type":"file","id":"sesrsc_agray4o575y2tf6tmq6q5dsobq","file_id":"file_agray4o575y2dgcykoagz7tdfy","mount_path":"/mnt/session/uploads/data/q3.csv","created_at":"2026-11-24T07:12:03.418211Z","updated_at":"2026-11-24T07:12:03.418211Z"}],"usage":{"input_tokens":0,"output_tokens":0,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":0},"list_cost":{"amount":"0","currency":"USD"},"server_tool_use":{"web_search_requests":0,"web_fetch_requests":0},"active_seconds":0},"stats":{"active_seconds":0,"duration_seconds":12.5},"vault_ids":["vlt_agray4o575yz5pfpymedzfznb4"],"budget":null,"outcome_evaluations":[],"deployment_id":null,"created_at":"2026-11-24T07:12:03.418211Z","updated_at":"2026-11-24T07:12:03.418211Z","archived_at":null},"examples":{"Example":{"title":"Example","value":{"type":"session","id":"ses_agray4o575ytrcguudsrm73sbq","agent":{"type":"agent","id":"aprf_agray4o575yzni6unfhge6obhm","version":3,"name":"Report writer","description":"Drafts quarterly reports from uploaded data.","system":"You write concise business reports. Cite the data files you used.","model":{"id":"claude-sonnet-4-5","effort":{"type":"medium"}},"tools":[{"type":"agent_toolset_20260401","configs":[],"default_config":{"enabled":true,"permission_policy":{"type":"always_allow"}}}],"mcp_servers":[],"skills":[{"type":"custom","skill_id":"skl_agray4o575y4tdjvgdeqmbgziq","version":"skr_agray4o575y4vasjf3qab2luki","id":"skl_agray4o575y4tdjvgdeqmbgziq"}],"multiagent":null,"execution_identity":{"type":"service_account"}},"environment_id":"env_agray4o575yzvcl662kzmeilr4","title":"Q3 revenue report","status":"idle","metadata":{"ticket":"OPS-1423"},"resources":[{"type":"file","id":"sesrsc_agray4o575y2tf6tmq6q5dsobq","file_id":"file_agray4o575y2dgcykoagz7tdfy","mount_path":"/mnt/session/uploads/data/q3.csv","created_at":"2026-11-24T07:12:03.418211Z","updated_at":"2026-11-24T07:12:03.418211Z"}],"usage":{"input_tokens":0,"output_tokens":0,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":0},"list_cost":{"amount":"0","currency":"USD"},"server_tool_use":{"web_search_requests":0,"web_fetch_requests":0},"active_seconds":0},"stats":{"active_seconds":0,"duration_seconds":12.5},"vault_ids":["vlt_agray4o575yz5pfpymedzfznb4"],"budget":null,"outcome_evaluations":[],"deployment_id":null,"created_at":"2026-11-24T07:12:03.418211Z","updated_at":"2026-11-24T07:12:03.418211Z","archived_at":null}}},"exampleType":"examples"}},"exampleType":"examples"},"57447ae4-6830-4654-88c8-a7a69fecf1f1":{"description":"Anthropic error envelope.","content":{"application/json":{"schema":{"type":"object","x-bma-official-shape":"ErrorResponse","x-bma-official-fields":["type","error","request_id"],"description":"The error envelope of every failed request.","required":["type","error"],"properties":{"type":{"const":"error","description":"Always `error`.","isRequired":true,"uniqueKey":"type","typeLabel":"any"},"error":{"type":"object","description":"What went wrong.","required":["type","message"],"properties":{"type":{"type":"string","description":"The error class, which fixes the HTTP status (for example `not_found_error` for 404).","enum":["invalid_request_error","authentication_error","permission_error","billing_error","not_found_error","conflict_error","request_too_large","rate_limit_error","api_error","timeout_error","overloaded_error"],"isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable explanation; its wording may change, so branch on `code`.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"code":{"type":"string","description":"Stable snake_case reason ([error codes](https://docs.beeos.ai/api-reference/errors)); absent when the error has none. BMA repeats it as `bma_error_code`.","uniqueKey":"error.code","typeLabel":"string"},"bma_error_code":{"type":"string","description":"The same value as `code`, present whenever `code` is (BMA extension).","uniqueKey":"error.bma_error_code","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"request_id":{"type":"string","description":"ID of the request, to quote when reporting a problem.","uniqueKey":"request_id","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"error","error":{"type":"invalid_request_error","message":"\u003cstring>","code":"\u003cstring>","bma_error_code":"\u003cstring>"},"request_id":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"58fd8f5e-48fc-44ba-9b90-4051690a73db":{"description":"Anthropic error envelope.","content":{"application/json":{"schema":{"type":"object","x-bma-official-shape":"ErrorResponse","x-bma-official-fields":["type","error","request_id"],"description":"The error envelope of every failed request.","required":["type","error"],"properties":{"type":{"const":"error","description":"Always `error`.","isRequired":true,"uniqueKey":"type","typeLabel":"any"},"error":{"type":"object","description":"What went wrong.","required":["type","message"],"properties":{"type":{"type":"string","description":"The error class, which fixes the HTTP status (for example `not_found_error` for 404).","enum":["invalid_request_error","authentication_error","permission_error","billing_error","not_found_error","conflict_error","request_too_large","rate_limit_error","api_error","timeout_error","overloaded_error"],"isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable explanation; its wording may change, so branch on `code`.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"code":{"type":"string","description":"Stable snake_case reason ([error codes](https://docs.beeos.ai/api-reference/errors)); absent when the error has none. BMA repeats it as `bma_error_code`.","uniqueKey":"error.code","typeLabel":"string"},"bma_error_code":{"type":"string","description":"The same value as `code`, present whenever `code` is (BMA extension).","uniqueKey":"error.bma_error_code","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"request_id":{"type":"string","description":"ID of the request, to quote when reporting a problem.","uniqueKey":"request_id","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"error","error":{"type":"invalid_request_error","message":"\u003cstring>","code":"\u003cstring>","bma_error_code":"\u003cstring>"},"request_id":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"a7a05916-0e8d-41df-b94e-ca8691ee2568":{"apiKey":{"type":"apiKey","in":"header","name":"x-api-key","scopes":[],"schemeName":"apiKey"}},"6e714eac-c5f9-497c-947a-aeaa7d4f124d":{"bearer":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"bearer"}}},"servers":{"aab6fce6-43f5-423b-92da-bb742711199d":{"url":"https://api.beeos.ai","description":"Production"},"f34f48fd-3007-467d-9d05-2d18bb2f0252":{"url":"http://127.0.0.1:58080","description":"Self-hosted (docker compose quickstart)"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","scopes":[],"schemeName":"apiKey"},"schema":{"title":"x-api-key","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKey","name":"x-api-key"}],"title":"apiKey"},{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"bearer"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearer","name":"Authorization"}],"title":"bearer"}]},"originalFileLocation":"api-reference/bma.openapi.yaml"},"subdomain":"localhost","siteName":"BMA Developer Docs","title":"Create Session - BMA Developer Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/api-reference/endpoints/sessions/create-session","matchLevel":0},"zh":{"href":"/zh/api-reference/endpoints/sessions/create-session","matchLevel":1},"zh-Hant":{"href":"/zh-hant/api-reference/endpoints/sessions/create-session","matchLevel":1},"ja":{"href":"/ja/api-reference/endpoints/sessions/create-session","matchLevel":1},"ko":{"href":"/ko/api-reference/endpoints/sessions/create-session","matchLevel":1}}},"originalFileLocation":"api-reference/endpoints/sessions/create-session.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Creates an idle session that runs a version of an agent in an environment and returns it. The agent\u0026#x27;s definition is snapshotted into the session: the named version (the latest when none is named), its skills with every version resolved, and the model and system of agent_with_overrides; later changes to the agent or its skills never reach the session. File resources are checked and mounted, memory stores attached with a snapshot of their name and description, and vaults checked usable. No turn starts: send a user.message to the session\u0026#x27;s events. Members BMA does not support for sessions (budget, initial_events, github_repository resources, per-session tools or mcp_servers other than an empty list) are refused with 400, never ignored. Send an Idempotency-Key to make retries safe: the session and its completed idempotency record commit in one transaction with claim fencing, so the same key with the same body replays the first answer (including its ETag) for 24 hours without creating a duplicate, and with another body it is refused. Without a key, an official SDK retry (X-Stainless-Retry-Count of 1 or more) of the same body within 10 minutes is merged with the first request. The response carries a strong ETag header for conditional updates with If-Match. Authorization: Organization API key (x-api-key: bma_org_v1_…), personal access token (Authorization: Bearer bma_pat_v1_…), OAuth access token or signed-in dashboard session; a user credential names its organization with bma-organization-id. The request acts in one workspace: the one named by bma-workspace-id (or anthropic-workspace-id; when both are sent they must agree), else the credential\u0026#x27;s default workspace (an API key\u0026#x27;s own workspace, else its organization\u0026#x27;s Default workspace), else the only workspace the credential can use. The caller\u0026#x27;s workspace role must be admin, developer or operator (viewer is refused); organization owners and admins act as workspace admins in every workspace of their organization. Limits: - Request body: at most 1 MiB (1,048,576 bytes). - Idempotency-Key: 1 to 255 visible ASCII characters; a completed key replays its answer for 24 hours; a key whose request is still running blocks the key for at most 10 minutes. - vault_ids: at most 50 distinct vaults. - resources: at most 100 entries; memory store instructions at most 4,096 characters. - Skills of the session (the agent\u0026#x27;s or the override\u0026#x27;s): at most 500. - bma_executor_config: cwd at most 4,096 bytes, thinking_level at most 64, model at most 200. - Rate limit: one request of the organization\u0026#x27;s write budget (Rate limits). Errors (besides the common errors (401 authentication, 429 rate_limited, 500)): | Status | error.type | error.code | Cause | Fix | | --- | --- | --- | --- | --- | | 400 | invalid_request_error | environment_archived | The environment is archived and takes no new sessions. | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | harness_unavailable | The session\u0026#x27;s brain (bma_harness) cannot run in this deployment or where the environment places it. | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | idempotency_key_reused | The Idempotency-Key was used in the last 24 hours with a different request. | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | invalid_field | A member has the wrong type or form: agent missing or not an ID or agent object, agent.version below 1, title or metadata not strings, a malformed resources entry or mount_path, a memory store attached twice, two resources on one mount path, a repeated or empty vault ID, a skill without skill_id or listed with two versions, or an invalid bma_placement or bma_executor_config. | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | invalid_idempotency_key | Idempotency-Key is not 1 to 255 visible ASCII characters. | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | invalid_json | The body cannot be read or is not a JSON object. | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | invalid_metadata | The metadata has more than 16 pairs, a key that is empty or longer than 64 characters, or a value longer than 512 characters. | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | invalid_model_override | bma_model_override (or the deprecated credential members of agent.model) is malformed. | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | invalid_model_override_url | The model override\u0026#x27;s base URL is not an HTTPS origin. | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | mcp_server_host_not_allowed | The environment\u0026#x27;s limited networking does not allow the host of one of the agent\u0026#x27;s MCP servers. | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | model_limits_unknown | The override\u0026#x27;s model has no known context window and output limit. | Choose a model whose limits are known, or declare its limits, and send the request again. | | 400 | invalid_request_error | model_not_available | The brain on the session\u0026#x27;s machine does not offer the model of bma_executor_config. | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | model_override_key_rejected | The model override\u0026#x27;s API key is too short or too long. | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | model_protocol_mismatch | The model override\u0026#x27;s API format does not fit its endpoint. | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | organization_required | A user credential (personal access token, OAuth token, dashboard session) names no organization. | Name the organization with the bma-organization-id header. | | 400 | invalid_request_error | placement_unsatisfiable | bma_placement names a machine outside the environment\u0026#x27;s candidates, or no candidate hosts the brain. | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | project_required | The credential can use several workspaces and the request names none. | Name the workspace with the bma-workspace-id header. | | 400 | invalid_request_error | too_many_skills | The session would have more than 500 skills. | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | unsupported | A skill has type anthropic; only custom skills are hosted. | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | unsupported_session_option | The body sets a member BMA does not support for sessions (budget, initial_events, any unknown member), a resource type other than file and memory_store, or a feature the deployment does not serve (vaults, resources, bma_model_override, bma_placement). | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | unsupported_session_override | agent_with_overrides sets tools or mcp_servers to a non-empty list, or combines bma_model_override with the deprecated credential members of agent.model. | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | workspace_id_conflict | bma-workspace-id and anthropic-workspace-id name different workspaces. | Correct the request as the message describes and send it again; the same request will keep failing. | | 403 | permission_error | permission_denied | The caller\u0026#x27;s workspace role is viewer, which may read sessions but not change them. | Use a credential with the required role or access; retrying with the same credential will not help. | | 403 | permission_error | remote_brain_not_allowed | The brain would run on another machine and no hands machine\u0026#x27;s owner allows a remote brain. | Use a credential with the required role or access; retrying with the same credential will not help. | | 404 | not_found_error | agent_not_found | No agent with this ID exists in the workspace. | Check the ID and the organization or workspace it belongs to; do not retry the same request. | | 404 | not_found_error | agent_version_not_found | The agent has no such version. | Check the ID and the organization or workspace it belongs to; do not retry the same request. | | 404 | not_found_error | environment_not_found | environment_id names no environment of the workspace. | Check the ID and the organization or workspace it belongs to; do not retry the same request. | | 404 | not_found_error | file_not_found | The file of a file resource does not exist in the workspace. | Check the ID and the organization or workspace it belongs to; do not retry the same request. | | 404 | not_found_error | machine_not_found | The machine of an mch_ environment or of bma_placement does not exist or may not be used by this agent. | Check the ID and the organization or workspace it belongs to; do not retry the same request. | | 404 | not_found_error | memory_store_not_found | The memory store of a memory_store resource does not exist in the workspace. | Check the ID and the organization or workspace it belongs to; do not retry the same request. | | 404 | not_found_error | skill_not_found | A skill of the session does not exist or is not visible to the workspace. | Check the ID and the organization or workspace it belongs to; do not retry the same request. | | 404 | not_found_error | skill_version_not_found | A skill version named by the session does not exist. | Check the ID and the organization or workspace it belongs to; do not retry the same request. | | 404 | not_found_error | vault_not_found | A vault of vault_ids does not exist in the workspace. | Check the ID and the organization or workspace it belongs to; do not retry the same request. | | 409 | conflict_error | idempotency_key_in_use | A request with the same Idempotency-Key is still being processed. | Retry after a short delay; the first request\u0026#x27;s answer is replayed once it completes. | | 409 | conflict_error | memory_store_archived | The memory store of a memory_store resource is archived. | Re-read the resource, resolve the conflicting state, then send the request again. | | 413 | request_too_large | request_too_large | The body is larger than 1 MiB. | Reduce the size of the request body or upload in smaller parts. |\">\u003cmeta data-mint-head name=\"application-name\" content=\"BMA Developer Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/favicons/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/favicons/favicon-32x32.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/favicons/favicon-16x16.png\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/favicons/favicon.ico\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create Session - BMA Developer Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Creates an idle session that runs a version of an agent in an environment and returns it. The agent\u0026#x27;s definition is snapshotted into the session: the named version (the latest when none is named), its skills with every version resolved, and the model and system of agent_with_overrides; later changes to the agent or its skills never reach the session. File resources are checked and mounted, memory stores attached with a snapshot of their name and description, and vaults checked usable. No turn starts: send a user.message to the session\u0026#x27;s events. Members BMA does not support for sessions (budget, initial_events, github_repository resources, per-session tools or mcp_servers other than an empty list) are refused with 400, never ignored. Send an Idempotency-Key to make retries safe: the session and its completed idempotency record commit in one transaction with claim fencing, so the same key with the same body replays the first answer (including its ETag) for 24 hours without creating a duplicate, and with another body it is refused. Without a key, an official SDK retry (X-Stainless-Retry-Count of 1 or more) of the same body within 10 minutes is merged with the first request. The response carries a strong ETag header for conditional updates with If-Match. Authorization: Organization API key (x-api-key: bma_org_v1_…), personal access token (Authorization: Bearer bma_pat_v1_…), OAuth access token or signed-in dashboard session; a user credential names its organization with bma-organization-id. The request acts in one workspace: the one named by bma-workspace-id (or anthropic-workspace-id; when both are sent they must agree), else the credential\u0026#x27;s default workspace (an API key\u0026#x27;s own workspace, else its organization\u0026#x27;s Default workspace), else the only workspace the credential can use. The caller\u0026#x27;s workspace role must be admin, developer or operator (viewer is refused); organization owners and admins act as workspace admins in every workspace of their organization. Limits: - Request body: at most 1 MiB (1,048,576 bytes). - Idempotency-Key: 1 to 255 visible ASCII characters; a completed key replays its answer for 24 hours; a key whose request is still running blocks the key for at most 10 minutes. - vault_ids: at most 50 distinct vaults. - resources: at most 100 entries; memory store instructions at most 4,096 characters. - Skills of the session (the agent\u0026#x27;s or the override\u0026#x27;s): at most 500. - bma_executor_config: cwd at most 4,096 bytes, thinking_level at most 64, model at most 200. - Rate limit: one request of the organization\u0026#x27;s write budget (Rate limits). Errors (besides the common errors (401 authentication, 429 rate_limited, 500)): | Status | error.type | error.code | Cause | Fix | | --- | --- | --- | --- | --- | | 400 | invalid_request_error | environment_archived | The environment is archived and takes no new sessions. | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | harness_unavailable | The session\u0026#x27;s brain (bma_harness) cannot run in this deployment or where the environment places it. | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | idempotency_key_reused | The Idempotency-Key was used in the last 24 hours with a different request. | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | invalid_field | A member has the wrong type or form: agent missing or not an ID or agent object, agent.version below 1, title or metadata not strings, a malformed resources entry or mount_path, a memory store attached twice, two resources on one mount path, a repeated or empty vault ID, a skill without skill_id or listed with two versions, or an invalid bma_placement or bma_executor_config. | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | invalid_idempotency_key | Idempotency-Key is not 1 to 255 visible ASCII characters. | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | invalid_json | The body cannot be read or is not a JSON object. | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | invalid_metadata | The metadata has more than 16 pairs, a key that is empty or longer than 64 characters, or a value longer than 512 characters. | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | invalid_model_override | bma_model_override (or the deprecated credential members of agent.model) is malformed. | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | invalid_model_override_url | The model override\u0026#x27;s base URL is not an HTTPS origin. | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | mcp_server_host_not_allowed | The environment\u0026#x27;s limited networking does not allow the host of one of the agent\u0026#x27;s MCP servers. | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | model_limits_unknown | The override\u0026#x27;s model has no known context window and output limit. | Choose a model whose limits are known, or declare its limits, and send the request again. | | 400 | invalid_request_error | model_not_available | The brain on the session\u0026#x27;s machine does not offer the model of bma_executor_config. | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | model_override_key_rejected | The model override\u0026#x27;s API key is too short or too long. | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | model_protocol_mismatch | The model override\u0026#x27;s API format does not fit its endpoint. | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | organization_required | A user credential (personal access token, OAuth token, dashboard session) names no organization. | Name the organization with the bma-organization-id header. | | 400 | invalid_request_error | placement_unsatisfiable | bma_placement names a machine outside the environment\u0026#x27;s candidates, or no candidate hosts the brain. | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | project_required | The credential can use several workspaces and the request names none. | Name the workspace with the bma-workspace-id header. | | 400 | invalid_request_error | too_many_skills | The session would have more than 500 skills. | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | unsupported | A skill has type anthropic; only custom skills are hosted. | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | unsupported_session_option | The body sets a member BMA does not support for sessions (budget, initial_events, any unknown member), a resource type other than file and memory_store, or a feature the deployment does not serve (vaults, resources, bma_model_override, bma_placement). | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | unsupported_session_override | agent_with_overrides sets tools or mcp_servers to a non-empty list, or combines bma_model_override with the deprecated credential members of agent.model. | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | workspace_id_conflict | bma-workspace-id and anthropic-workspace-id name different workspaces. | Correct the request as the message describes and send it again; the same request will keep failing. | | 403 | permission_error | permission_denied | The caller\u0026#x27;s workspace role is viewer, which may read sessions but not change them. | Use a credential with the required role or access; retrying with the same credential will not help. | | 403 | permission_error | remote_brain_not_allowed | The brain would run on another machine and no hands machine\u0026#x27;s owner allows a remote brain. | Use a credential with the required role or access; retrying with the same credential will not help. | | 404 | not_found_error | agent_not_found | No agent with this ID exists in the workspace. | Check the ID and the organization or workspace it belongs to; do not retry the same request. | | 404 | not_found_error | agent_version_not_found | The agent has no such version. | Check the ID and the organization or workspace it belongs to; do not retry the same request. | | 404 | not_found_error | environment_not_found | environment_id names no environment of the workspace. | Check the ID and the organization or workspace it belongs to; do not retry the same request. | | 404 | not_found_error | file_not_found | The file of a file resource does not exist in the workspace. | Check the ID and the organization or workspace it belongs to; do not retry the same request. | | 404 | not_found_error | machine_not_found | The machine of an mch_ environment or of bma_placement does not exist or may not be used by this agent. | Check the ID and the organization or workspace it belongs to; do not retry the same request. | | 404 | not_found_error | memory_store_not_found | The memory store of a memory_store resource does not exist in the workspace. | Check the ID and the organization or workspace it belongs to; do not retry the same request. | | 404 | not_found_error | skill_not_found | A skill of the session does not exist or is not visible to the workspace. | Check the ID and the organization or workspace it belongs to; do not retry the same request. | | 404 | not_found_error | skill_version_not_found | A skill version named by the session does not exist. | Check the ID and the organization or workspace it belongs to; do not retry the same request. | | 404 | not_found_error | vault_not_found | A vault of vault_ids does not exist in the workspace. | Check the ID and the organization or workspace it belongs to; do not retry the same request. | | 409 | conflict_error | idempotency_key_in_use | A request with the same Idempotency-Key is still being processed. | Retry after a short delay; the first request\u0026#x27;s answer is replayed once it completes. | | 409 | conflict_error | memory_store_archived | The memory store of a memory_store resource is archived. | Re-read the resource, resolve the conflicting state, then send the request again. | | 413 | request_too_large | request_too_large | The body is larger than 1 MiB. | Reduce the size of the request body or upload in smaller parts. |\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"BMA Developer Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://local./api-reference/endpoints/sessions/create-session\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create Session - BMA Developer Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Creates an idle session that runs a version of an agent in an environment and returns it. The agent\u0026#x27;s definition is snapshotted into the session: the named version (the latest when none is named), its skills with every version resolved, and the model and system of agent_with_overrides; later changes to the agent or its skills never reach the session. File resources are checked and mounted, memory stores attached with a snapshot of their name and description, and vaults checked usable. No turn starts: send a user.message to the session\u0026#x27;s events. Members BMA does not support for sessions (budget, initial_events, github_repository resources, per-session tools or mcp_servers other than an empty list) are refused with 400, never ignored. Send an Idempotency-Key to make retries safe: the session and its completed idempotency record commit in one transaction with claim fencing, so the same key with the same body replays the first answer (including its ETag) for 24 hours without creating a duplicate, and with another body it is refused. Without a key, an official SDK retry (X-Stainless-Retry-Count of 1 or more) of the same body within 10 minutes is merged with the first request. The response carries a strong ETag header for conditional updates with If-Match. Authorization: Organization API key (x-api-key: bma_org_v1_…), personal access token (Authorization: Bearer bma_pat_v1_…), OAuth access token or signed-in dashboard session; a user credential names its organization with bma-organization-id. The request acts in one workspace: the one named by bma-workspace-id (or anthropic-workspace-id; when both are sent they must agree), else the credential\u0026#x27;s default workspace (an API key\u0026#x27;s own workspace, else its organization\u0026#x27;s Default workspace), else the only workspace the credential can use. The caller\u0026#x27;s workspace role must be admin, developer or operator (viewer is refused); organization owners and admins act as workspace admins in every workspace of their organization. Limits: - Request body: at most 1 MiB (1,048,576 bytes). - Idempotency-Key: 1 to 255 visible ASCII characters; a completed key replays its answer for 24 hours; a key whose request is still running blocks the key for at most 10 minutes. - vault_ids: at most 50 distinct vaults. - resources: at most 100 entries; memory store instructions at most 4,096 characters. - Skills of the session (the agent\u0026#x27;s or the override\u0026#x27;s): at most 500. - bma_executor_config: cwd at most 4,096 bytes, thinking_level at most 64, model at most 200. - Rate limit: one request of the organization\u0026#x27;s write budget (Rate limits). Errors (besides the common errors (401 authentication, 429 rate_limited, 500)): | Status | error.type | error.code | Cause | Fix | | --- | --- | --- | --- | --- | | 400 | invalid_request_error | environment_archived | The environment is archived and takes no new sessions. | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | harness_unavailable | The session\u0026#x27;s brain (bma_harness) cannot run in this deployment or where the environment places it. | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | idempotency_key_reused | The Idempotency-Key was used in the last 24 hours with a different request. | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | invalid_field | A member has the wrong type or form: agent missing or not an ID or agent object, agent.version below 1, title or metadata not strings, a malformed resources entry or mount_path, a memory store attached twice, two resources on one mount path, a repeated or empty vault ID, a skill without skill_id or listed with two versions, or an invalid bma_placement or bma_executor_config. | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | invalid_idempotency_key | Idempotency-Key is not 1 to 255 visible ASCII characters. | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | invalid_json | The body cannot be read or is not a JSON object. | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | invalid_metadata | The metadata has more than 16 pairs, a key that is empty or longer than 64 characters, or a value longer than 512 characters. | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | invalid_model_override | bma_model_override (or the deprecated credential members of agent.model) is malformed. | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | invalid_model_override_url | The model override\u0026#x27;s base URL is not an HTTPS origin. | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | mcp_server_host_not_allowed | The environment\u0026#x27;s limited networking does not allow the host of one of the agent\u0026#x27;s MCP servers. | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | model_limits_unknown | The override\u0026#x27;s model has no known context window and output limit. | Choose a model whose limits are known, or declare its limits, and send the request again. | | 400 | invalid_request_error | model_not_available | The brain on the session\u0026#x27;s machine does not offer the model of bma_executor_config. | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | model_override_key_rejected | The model override\u0026#x27;s API key is too short or too long. | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | model_protocol_mismatch | The model override\u0026#x27;s API format does not fit its endpoint. | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | organization_required | A user credential (personal access token, OAuth token, dashboard session) names no organization. | Name the organization with the bma-organization-id header. | | 400 | invalid_request_error | placement_unsatisfiable | bma_placement names a machine outside the environment\u0026#x27;s candidates, or no candidate hosts the brain. | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | project_required | The credential can use several workspaces and the request names none. | Name the workspace with the bma-workspace-id header. | | 400 | invalid_request_error | too_many_skills | The session would have more than 500 skills. | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | unsupported | A skill has type anthropic; only custom skills are hosted. | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | unsupported_session_option | The body sets a member BMA does not support for sessions (budget, initial_events, any unknown member), a resource type other than file and memory_store, or a feature the deployment does not serve (vaults, resources, bma_model_override, bma_placement). | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | unsupported_session_override | agent_with_overrides sets tools or mcp_servers to a non-empty list, or combines bma_model_override with the deprecated credential members of agent.model. | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | workspace_id_conflict | bma-workspace-id and anthropic-workspace-id name different workspaces. | Correct the request as the message describes and send it again; the same request will keep failing. | | 403 | permission_error | permission_denied | The caller\u0026#x27;s workspace role is viewer, which may read sessions but not change them. | Use a credential with the required role or access; retrying with the same credential will not help. | | 403 | permission_error | remote_brain_not_allowed | The brain would run on another machine and no hands machine\u0026#x27;s owner allows a remote brain. | Use a credential with the required role or access; retrying with the same credential will not help. | | 404 | not_found_error | agent_not_found | No agent with this ID exists in the workspace. | Check the ID and the organization or workspace it belongs to; do not retry the same request. | | 404 | not_found_error | agent_version_not_found | The agent has no such version. | Check the ID and the organization or workspace it belongs to; do not retry the same request. | | 404 | not_found_error | environment_not_found | environment_id names no environment of the workspace. | Check the ID and the organization or workspace it belongs to; do not retry the same request. | | 404 | not_found_error | file_not_found | The file of a file resource does not exist in the workspace. | Check the ID and the organization or workspace it belongs to; do not retry the same request. | | 404 | not_found_error | machine_not_found | The machine of an mch_ environment or of bma_placement does not exist or may not be used by this agent. | Check the ID and the organization or workspace it belongs to; do not retry the same request. | | 404 | not_found_error | memory_store_not_found | The memory store of a memory_store resource does not exist in the workspace. | Check the ID and the organization or workspace it belongs to; do not retry the same request. | | 404 | not_found_error | skill_not_found | A skill of the session does not exist or is not visible to the workspace. | Check the ID and the organization or workspace it belongs to; do not retry the same request. | | 404 | not_found_error | skill_version_not_found | A skill version named by the session does not exist. | Check the ID and the organization or workspace it belongs to; do not retry the same request. | | 404 | not_found_error | vault_not_found | A vault of vault_ids does not exist in the workspace. | Check the ID and the organization or workspace it belongs to; do not retry the same request. | | 409 | conflict_error | idempotency_key_in_use | A request with the same Idempotency-Key is still being processed. | Retry after a short delay; the first request\u0026#x27;s answer is replayed once it completes. | | 409 | conflict_error | memory_store_archived | The memory store of a memory_store resource is archived. | Re-read the resource, resolve the conflicting state, then send the request again. | | 413 | request_too_large | request_too_large | The body is larger than 1 MiB. | Reduce the size of the request body or upload in smaller parts. |\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/favicons/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"BMA Developer Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#F97316\">\u003clink data-mint-head rel=\"canonical\" href=\"https://local./api-reference/endpoints/sessions/create-session\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoints/sessions/create-session.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://local./api-reference/endpoints/sessions/create-session\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://local./zh/api-reference/endpoints/sessions/create-session\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh-Hant\" href=\"https://local./zh-hant/api-reference/endpoints/sessions/create-session\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja\" href=\"https://local./ja/api-reference/endpoints/sessions/create-session\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ko\" href=\"https://local./ko/api-reference/endpoints/sessions/create-session\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://local./api-reference/endpoints/sessions/create-session\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"BMA Developer Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"BMA Developer Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/endpoints/sessions/create-session.md","siteName":"BMA Developer Docs","nav":{"languages":[{"language":"en","default":true,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"SDKs","pages":[{"title":"SDKs","href":"/sdks/overview"}]},{"tab":"CLI","pages":[{"title":"CLI","href":"/cli/getting-started"}]},{"tab":"API reference","groups":[{"group":"API reference","pages":[{"title":"API reference","icon":"book","href":"/api-reference/introduction"}]},{"group":"bma-sdk","pages":[{"title":"bma-sdk HTTP API","sidebarTitle":"HTTP API overview","icon":"globe","href":"/api-reference/bma-sdk/overview"},{"title":"Errors","href":"/api-reference/errors"},{"title":"Use the official Anthropic SDK","sidebarTitle":"Anthropic SDK","icon":"scale-balanced","href":"/compatibility"},{"group":"Endpoints","expanded":true,"pages":[{"group":"Agents","pages":[{"title":"List Agents","openapi":"/api-reference/bma.openapi.yaml get /v1/agents","href":"/api-reference/endpoints/agents/list-agents"},{"title":"Create Agent","openapi":"/api-reference/bma.openapi.yaml post /v1/agents","href":"/api-reference/endpoints/agents/create-agent"},{"title":"Get Agent","openapi":"/api-reference/bma.openapi.yaml get /v1/agents/{agent_id}","href":"/api-reference/endpoints/agents/get-agent"},{"title":"Update Agent","openapi":"/api-reference/bma.openapi.yaml post /v1/agents/{agent_id}","href":"/api-reference/endpoints/agents/update-agent"},{"title":"Archive Agent","openapi":"/api-reference/bma.openapi.yaml post /v1/agents/{agent_id}/archive","href":"/api-reference/endpoints/agents/archive-agent"},{"title":"List agent versions","openapi":"/api-reference/bma.openapi.yaml get /v1/agents/{agent_id}/versions","href":"/api-reference/endpoints/agents/list-agent-versions"}]},{"group":"Desktop sessions","pages":[{"title":"Create a desktop session","openapi":"/api-reference/bma.openapi.yaml post /v1/desktop_sessions","href":"/api-reference/endpoints/desktop-sessions/create-a-desktop-session"},{"title":"Retrieve a desktop session (control state in `control`)","openapi":"/api-reference/bma.openapi.yaml get /v1/desktop_sessions/{desktop_session_id}","href":"/api-reference/endpoints/desktop-sessions/retrieve-a-desktop-session-control-state-in-`control`"},{"title":"Take input control","openapi":"/api-reference/bma.openapi.yaml post /v1/desktop_sessions/{desktop_session_id}/acquire_control","href":"/api-reference/endpoints/desktop-sessions/take-input-control"},{"title":"Send input actions","openapi":"/api-reference/bma.openapi.yaml post /v1/desktop_sessions/{desktop_session_id}/actions","href":"/api-reference/endpoints/desktop-sessions/send-input-actions"},{"title":"Close a desktop session","openapi":"/api-reference/bma.openapi.yaml post /v1/desktop_sessions/{desktop_session_id}/close","href":"/api-reference/endpoints/desktop-sessions/close-a-desktop-session"},{"title":"Hand control back to the agent","openapi":"/api-reference/bma.openapi.yaml post /v1/desktop_sessions/{desktop_session_id}/handback_control","href":"/api-reference/endpoints/desktop-sessions/hand-control-back-to-the-agent"},{"title":"Extend the running screen capture's keepalive deadline","openapi":"/api-reference/bma.openapi.yaml post /v1/desktop_sessions/{desktop_session_id}/keepalive","href":"/api-reference/endpoints/desktop-sessions/extend-the-running-screen-captures-keepalive-deadline"},{"title":"Release control","openapi":"/api-reference/bma.openapi.yaml post /v1/desktop_sessions/{desktop_session_id}/release_control","href":"/api-reference/endpoints/desktop-sessions/release-control"},{"title":"Renew the control lease","openapi":"/api-reference/bma.openapi.yaml post /v1/desktop_sessions/{desktop_session_id}/renew_control","href":"/api-reference/endpoints/desktop-sessions/renew-the-control-lease"},{"title":"Capture a screenshot","openapi":"/api-reference/bma.openapi.yaml post /v1/desktop_sessions/{desktop_session_id}/screenshot","href":"/api-reference/endpoints/desktop-sessions/capture-a-screenshot"},{"title":"Mint a desktop watch credential","openapi":"/api-reference/bma.openapi.yaml post /v1/desktop_sessions/{desktop_session_id}/tickets","href":"/api-reference/endpoints/desktop-sessions/mint-a-desktop-watch-credential"},{"title":"Revoke a screen capture viewer and confirm its connections are closed","openapi":"/api-reference/bma.openapi.yaml post /v1/desktop_sessions/{desktop_session_id}/viewers/{viewer}/revoke","href":"/api-reference/endpoints/desktop-sessions/revoke-a-screen-capture-viewer-and-confirm-its-connections-are-closed"}]},{"group":"Environments","pages":[{"title":"List environments with pagination support.","openapi":"/api-reference/bma.openapi.yaml get /v1/environments","href":"/api-reference/endpoints/environments/list-environments-with-pagination-support"},{"title":"Create a new environment with the specified configuration.","openapi":"/api-reference/bma.openapi.yaml post /v1/environments","href":"/api-reference/endpoints/environments/create-a-new-environment-with-the-specified-configuration"},{"title":"Retrieve a specific environment by ID.","openapi":"/api-reference/bma.openapi.yaml get /v1/environments/{environment_id}","href":"/api-reference/endpoints/environments/retrieve-a-specific-environment-by-id"},{"title":"Update an existing environment's configuration.","openapi":"/api-reference/bma.openapi.yaml post /v1/environments/{environment_id}","href":"/api-reference/endpoints/environments/update-an-existing-environments-configuration"},{"title":"Delete an environment by ID. Returns a confirmation of the deletion.","openapi":"/api-reference/bma.openapi.yaml delete /v1/environments/{environment_id}","href":"/api-reference/endpoints/environments/delete-an-environment-by-id-returns-a-confirmation-of-the-deletion"},{"title":"Archive an environment by ID. Archived environments cannot be used to create new","openapi":"/api-reference/bma.openapi.yaml post /v1/environments/{environment_id}/archive","href":"/api-reference/endpoints/environments/archive-an-environment-by-id-archived-environments-cannot-be-used-to-create-new"}]},{"group":"Files","pages":[{"title":"List Files","openapi":"/api-reference/bma.openapi.yaml get /v1/files","href":"/api-reference/endpoints/files/list-files"},{"title":"Upload File","openapi":"/api-reference/bma.openapi.yaml post /v1/files","href":"/api-reference/endpoints/files/upload-file"},{"title":"Get File Metadata","openapi":"/api-reference/bma.openapi.yaml get /v1/files/{file_id}","href":"/api-reference/endpoints/files/get-file-metadata"},{"title":"Delete File","openapi":"/api-reference/bma.openapi.yaml delete /v1/files/{file_id}","href":"/api-reference/endpoints/files/delete-file"},{"title":"Download File","openapi":"/api-reference/bma.openapi.yaml get /v1/files/{file_id}/content","href":"/api-reference/endpoints/files/download-file"}]},{"group":"Machine pools","pages":[{"title":"List machine pools","openapi":"/api-reference/bma.openapi.yaml get /v1/machine_pools","href":"/api-reference/endpoints/machine-pools/list-machine-pools"},{"title":"Create a machine pool","openapi":"/api-reference/bma.openapi.yaml post /v1/machine_pools","href":"/api-reference/endpoints/machine-pools/create-a-machine-pool"},{"title":"Retrieve a machine pool","openapi":"/api-reference/bma.openapi.yaml get /v1/machine_pools/{pool_id}","href":"/api-reference/endpoints/machine-pools/retrieve-a-machine-pool"},{"title":"Update a machine pool","openapi":"/api-reference/bma.openapi.yaml post /v1/machine_pools/{pool_id}","href":"/api-reference/endpoints/machine-pools/update-a-machine-pool"},{"title":"Delete a machine pool","openapi":"/api-reference/bma.openapi.yaml delete /v1/machine_pools/{pool_id}","href":"/api-reference/endpoints/machine-pools/delete-a-machine-pool"},{"title":"List the pool grants of a project","openapi":"/api-reference/bma.openapi.yaml get /v1/machine_pools/{pool_id}/grants","href":"/api-reference/endpoints/machine-pools/list-the-pool-grants-of-a-project"},{"title":"Retrieve a pool grant","openapi":"/api-reference/bma.openapi.yaml get /v1/machine_pools/{pool_id}/grants/{grant_id}","href":"/api-reference/endpoints/machine-pools/retrieve-a-pool-grant"}]},{"group":"Machines","pages":[{"title":"List machines","openapi":"/api-reference/bma.openapi.yaml get /v1/machines","href":"/api-reference/endpoints/machines/list-machines"},{"title":"Create a machine","openapi":"/api-reference/bma.openapi.yaml post /v1/machines","href":"/api-reference/endpoints/machines/create-a-machine"},{"title":"Retrieve a machine","openapi":"/api-reference/bma.openapi.yaml get /v1/machines/{machine_id}","href":"/api-reference/endpoints/machines/retrieve-a-machine"},{"title":"Update a machine","openapi":"/api-reference/bma.openapi.yaml post /v1/machines/{machine_id}","href":"/api-reference/endpoints/machines/update-a-machine"},{"title":"Delete a machine","openapi":"/api-reference/bma.openapi.yaml delete /v1/machines/{machine_id}","href":"/api-reference/endpoints/machines/delete-a-machine"},{"title":"Bind an agent to a machine","openapi":"/api-reference/bma.openapi.yaml put /v1/machines/{machine_id}/agents/{agent_id}","href":"/api-reference/endpoints/machines/bind-an-agent-to-a-machine"},{"title":"Unbind an agent from a machine","openapi":"/api-reference/bma.openapi.yaml delete /v1/machines/{machine_id}/agents/{agent_id}","href":"/api-reference/endpoints/machines/unbind-an-agent-from-a-machine"},{"title":"List a machine's backups","openapi":"/api-reference/bma.openapi.yaml get /v1/machines/{machine_id}/backups","href":"/api-reference/endpoints/machines/list-a-machines-backups"},{"title":"Machine interaction capabilities","openapi":"/api-reference/bma.openapi.yaml get /v1/machines/{machine_id}/capabilities","href":"/api-reference/endpoints/machines/machine-interaction-capabilities"},{"title":"List executor tokens","openapi":"/api-reference/bma.openapi.yaml get /v1/machines/{machine_id}/executor_tokens","href":"/api-reference/endpoints/machines/list-executor-tokens"},{"title":"Create an executor token","openapi":"/api-reference/bma.openapi.yaml post /v1/machines/{machine_id}/executor_tokens","href":"/api-reference/endpoints/machines/create-an-executor-token"},{"title":"Revoke an executor token","openapi":"/api-reference/bma.openapi.yaml post /v1/machines/{machine_id}/executor_tokens/{token_id}/revoke","href":"/api-reference/endpoints/machines/revoke-an-executor-token"},{"title":"Pause a running machine","openapi":"/api-reference/bma.openapi.yaml post /v1/machines/{machine_id}/pause","href":"/api-reference/endpoints/machines/pause-a-running-machine"},{"title":"Rebuild a machine from a backup","openapi":"/api-reference/bma.openapi.yaml post /v1/machines/{machine_id}/restore","href":"/api-reference/endpoints/machines/rebuild-a-machine-from-a-backup"},{"title":"Resume a paused machine","openapi":"/api-reference/bma.openapi.yaml post /v1/machines/{machine_id}/resume","href":"/api-reference/endpoints/machines/resume-a-paused-machine"}]},{"group":"MCP OAuth","pages":[{"title":"Start an MCP OAuth authorization","openapi":"/api-reference/bma.openapi.yaml post /v1/mcp_oauth_authorizations","href":"/api-reference/endpoints/mcp-oauth/start-an-mcp-oauth-authorization"},{"title":"Get an MCP OAuth authorization","openapi":"/api-reference/bma.openapi.yaml get /v1/mcp_oauth_authorizations/{authorization_id}","href":"/api-reference/endpoints/mcp-oauth/get-an-mcp-oauth-authorization"},{"title":"Complete an MCP OAuth authorization","openapi":"/api-reference/bma.openapi.yaml post /v1/mcp_oauth/callback","href":"/api-reference/endpoints/mcp-oauth/complete-an-mcp-oauth-authorization"}]},{"group":"Organizations \u0026 workspaces","pages":[{"title":"List the invites sent to me","openapi":"/api-reference/bma.openapi.yaml get /v1/me/invites","href":"/api-reference/endpoints/organizations-\u0026-workspaces/list-the-invites-sent-to-me"},{"title":"Accept an invite","openapi":"/api-reference/bma.openapi.yaml post /v1/me/invites/{invite_id}/accept","href":"/api-reference/endpoints/organizations-\u0026-workspaces/accept-an-invite"},{"title":"Decline an invite","openapi":"/api-reference/bma.openapi.yaml post /v1/me/invites/{invite_id}/decline","href":"/api-reference/endpoints/organizations-\u0026-workspaces/decline-an-invite"},{"title":"Create an organization","openapi":"/api-reference/bma.openapi.yaml post /v1/me/organizations","href":"/api-reference/endpoints/organizations-\u0026-workspaces/create-an-organization"},{"title":"List my personal access tokens","openapi":"/api-reference/bma.openapi.yaml get /v1/me/personal_access_tokens","href":"/api-reference/endpoints/organizations-\u0026-workspaces/list-my-personal-access-tokens"},{"title":"Create a personal access token","openapi":"/api-reference/bma.openapi.yaml post /v1/me/personal_access_tokens","href":"/api-reference/endpoints/organizations-\u0026-workspaces/create-a-personal-access-token"},{"title":"Revoke a personal access token","openapi":"/api-reference/bma.openapi.yaml post /v1/me/personal_access_tokens/{token_id}/revoke","href":"/api-reference/endpoints/organizations-\u0026-workspaces/revoke-a-personal-access-token"},{"title":"List API Keys","openapi":"/api-reference/bma.openapi.yaml get /v1/organizations/api_keys","href":"/api-reference/endpoints/organizations-\u0026-workspaces/list-api-keys"},{"title":"Create an API key","openapi":"/api-reference/bma.openapi.yaml post /v1/organizations/api_keys","href":"/api-reference/endpoints/organizations-\u0026-workspaces/create-an-api-key"},{"title":"Get API Key","openapi":"/api-reference/bma.openapi.yaml get /v1/organizations/api_keys/{api_key_id}","href":"/api-reference/endpoints/organizations-\u0026-workspaces/get-api-key"},{"title":"Update API Key","openapi":"/api-reference/bma.openapi.yaml post /v1/organizations/api_keys/{api_key_id}","href":"/api-reference/endpoints/organizations-\u0026-workspaces/update-api-key"},{"title":"Get the cost report","openapi":"/api-reference/bma.openapi.yaml get /v1/organizations/cost_report","href":"/api-reference/endpoints/organizations-\u0026-workspaces/get-the-cost-report"},{"title":"List the organization's invites.","openapi":"/api-reference/bma.openapi.yaml get /v1/organizations/invites","href":"/api-reference/endpoints/organizations-\u0026-workspaces/list-the-organizations-invites"},{"title":"Invite a user to join the organization by email.","openapi":"/api-reference/bma.openapi.yaml post /v1/organizations/invites","href":"/api-reference/endpoints/organizations-\u0026-workspaces/invite-a-user-to-join-the-organization-by-email"},{"title":"Retrieve an invite by ID.","openapi":"/api-reference/bma.openapi.yaml get /v1/organizations/invites/{invite_id}","href":"/api-reference/endpoints/organizations-\u0026-workspaces/retrieve-an-invite-by-id"},{"title":"Delete a pending invite.","openapi":"/api-reference/bma.openapi.yaml delete /v1/organizations/invites/{invite_id}","href":"/api-reference/endpoints/organizations-\u0026-workspaces/delete-a-pending-invite"},{"title":"Retrieve information about the organization associated with the authenticated","openapi":"/api-reference/bma.openapi.yaml get /v1/organizations/me","href":"/api-reference/endpoints/organizations-\u0026-workspaces/retrieve-information-about-the-organization-associated-with-the-authenticated"},{"title":"Get the messages usage report","openapi":"/api-reference/bma.openapi.yaml get /v1/organizations/usage_report/messages","href":"/api-reference/endpoints/organizations-\u0026-workspaces/get-the-messages-usage-report"},{"title":"List the organization's members.","openapi":"/api-reference/bma.openapi.yaml get /v1/organizations/users","href":"/api-reference/endpoints/organizations-\u0026-workspaces/list-the-organizations-members"},{"title":"Retrieve a member of the organization by user ID.","openapi":"/api-reference/bma.openapi.yaml get /v1/organizations/users/{user_id}","href":"/api-reference/endpoints/organizations-\u0026-workspaces/retrieve-a-member-of-the-organization-by-user-id"},{"title":"Update a member's organization role.","openapi":"/api-reference/bma.openapi.yaml post /v1/organizations/users/{user_id}","href":"/api-reference/endpoints/organizations-\u0026-workspaces/update-a-members-organization-role"},{"title":"Remove a member from the organization.","openapi":"/api-reference/bma.openapi.yaml delete /v1/organizations/users/{user_id}","href":"/api-reference/endpoints/organizations-\u0026-workspaces/remove-a-member-from-the-organization"},{"title":"List Workspaces","openapi":"/api-reference/bma.openapi.yaml get /v1/organizations/workspaces","href":"/api-reference/endpoints/organizations-\u0026-workspaces/list-workspaces"},{"title":"Create Workspace","openapi":"/api-reference/bma.openapi.yaml post /v1/organizations/workspaces","href":"/api-reference/endpoints/organizations-\u0026-workspaces/create-workspace"},{"title":"Get Workspace","openapi":"/api-reference/bma.openapi.yaml get /v1/organizations/workspaces/{workspace_id}","href":"/api-reference/endpoints/organizations-\u0026-workspaces/get-workspace"},{"title":"Update Workspace","openapi":"/api-reference/bma.openapi.yaml post /v1/organizations/workspaces/{workspace_id}","href":"/api-reference/endpoints/organizations-\u0026-workspaces/update-workspace"},{"title":"Archive Workspace","openapi":"/api-reference/bma.openapi.yaml post /v1/organizations/workspaces/{workspace_id}/archive","href":"/api-reference/endpoints/organizations-\u0026-workspaces/archive-workspace"},{"title":"List Workspace Members","openapi":"/api-reference/bma.openapi.yaml get /v1/organizations/workspaces/{workspace_id}/members","href":"/api-reference/endpoints/organizations-\u0026-workspaces/list-workspace-members"},{"title":"Create Workspace Member","openapi":"/api-reference/bma.openapi.yaml post /v1/organizations/workspaces/{workspace_id}/members","href":"/api-reference/endpoints/organizations-\u0026-workspaces/create-workspace-member"},{"title":"Get Workspace Member","openapi":"/api-reference/bma.openapi.yaml get /v1/organizations/workspaces/{workspace_id}/members/{user_id}","href":"/api-reference/endpoints/organizations-\u0026-workspaces/get-workspace-member"},{"title":"Update Workspace Member","openapi":"/api-reference/bma.openapi.yaml post /v1/organizations/workspaces/{workspace_id}/members/{user_id}","href":"/api-reference/endpoints/organizations-\u0026-workspaces/update-workspace-member"},{"title":"Delete Workspace Member","openapi":"/api-reference/bma.openapi.yaml delete /v1/organizations/workspaces/{workspace_id}/members/{user_id}","href":"/api-reference/endpoints/organizations-\u0026-workspaces/delete-workspace-member"}]},{"group":"Memory stores","pages":[{"title":"List Memory Stores","openapi":"/api-reference/bma.openapi.yaml get /v1/memory_stores","href":"/api-reference/endpoints/memory-stores/list-memory-stores"},{"title":"Create a Memory Store","openapi":"/api-reference/bma.openapi.yaml post /v1/memory_stores","href":"/api-reference/endpoints/memory-stores/create-a-memory-store"},{"title":"Retrieve a Memory Store","openapi":"/api-reference/bma.openapi.yaml get /v1/memory_stores/{memory_store_id}","href":"/api-reference/endpoints/memory-stores/retrieve-a-memory-store"},{"title":"Update a Memory Store","openapi":"/api-reference/bma.openapi.yaml post /v1/memory_stores/{memory_store_id}","href":"/api-reference/endpoints/memory-stores/update-a-memory-store"},{"title":"Delete a Memory Store","openapi":"/api-reference/bma.openapi.yaml delete /v1/memory_stores/{memory_store_id}","href":"/api-reference/endpoints/memory-stores/delete-a-memory-store"},{"title":"Archive a memory store","openapi":"/api-reference/bma.openapi.yaml post /v1/memory_stores/{memory_store_id}/archive","href":"/api-reference/endpoints/memory-stores/archive-a-memory-store"},{"title":"List Memories","openapi":"/api-reference/bma.openapi.yaml get /v1/memory_stores/{memory_store_id}/memories","href":"/api-reference/endpoints/memory-stores/list-memories"},{"title":"Create a Memory","openapi":"/api-reference/bma.openapi.yaml post /v1/memory_stores/{memory_store_id}/memories","href":"/api-reference/endpoints/memory-stores/create-a-memory"},{"title":"Retrieve a Memory","openapi":"/api-reference/bma.openapi.yaml get /v1/memory_stores/{memory_store_id}/memories/{memory_id}","href":"/api-reference/endpoints/memory-stores/retrieve-a-memory"},{"title":"Update a Memory","openapi":"/api-reference/bma.openapi.yaml post /v1/memory_stores/{memory_store_id}/memories/{memory_id}","href":"/api-reference/endpoints/memory-stores/update-a-memory"},{"title":"Delete a Memory","openapi":"/api-reference/bma.openapi.yaml delete /v1/memory_stores/{memory_store_id}/memories/{memory_id}","href":"/api-reference/endpoints/memory-stores/delete-a-memory"},{"title":"List memory versions","openapi":"/api-reference/bma.openapi.yaml get /v1/memory_stores/{memory_store_id}/memory_versions","href":"/api-reference/endpoints/memory-stores/list-memory-versions"},{"title":"Retrieve a memory version","openapi":"/api-reference/bma.openapi.yaml get /v1/memory_stores/{memory_store_id}/memory_versions/{memory_version_id}","href":"/api-reference/endpoints/memory-stores/retrieve-a-memory-version"},{"title":"Redact a memory version","openapi":"/api-reference/bma.openapi.yaml post /v1/memory_stores/{memory_store_id}/memory_versions/{memory_version_id}/redact","href":"/api-reference/endpoints/memory-stores/redact-a-memory-version"}]},{"group":"Models \u0026 providers","pages":[{"title":"List model providers","openapi":"/api-reference/bma.openapi.yaml get /v1/model_providers","href":"/api-reference/endpoints/models-\u0026-providers/list-model-providers"},{"title":"Create a model provider","openapi":"/api-reference/bma.openapi.yaml post /v1/model_providers","href":"/api-reference/endpoints/models-\u0026-providers/create-a-model-provider"},{"title":"Get a model provider","openapi":"/api-reference/bma.openapi.yaml get /v1/model_providers/{provider_id}","href":"/api-reference/endpoints/models-\u0026-providers/get-a-model-provider"},{"title":"Update a model provider","openapi":"/api-reference/bma.openapi.yaml post /v1/model_providers/{provider_id}","href":"/api-reference/endpoints/models-\u0026-providers/update-a-model-provider"},{"title":"Delete a model provider","openapi":"/api-reference/bma.openapi.yaml delete /v1/model_providers/{provider_id}","href":"/api-reference/endpoints/models-\u0026-providers/delete-a-model-provider"},{"title":"List a provider's models","openapi":"/api-reference/bma.openapi.yaml get /v1/model_providers/{provider_id}/models","href":"/api-reference/endpoints/models-\u0026-providers/list-a-providers-models"},{"title":"Create a model","openapi":"/api-reference/bma.openapi.yaml post /v1/model_providers/{provider_id}/models","href":"/api-reference/endpoints/models-\u0026-providers/create-a-model"},{"title":"Get a model","openapi":"/api-reference/bma.openapi.yaml get /v1/model_providers/{provider_id}/models/{model_id}","href":"/api-reference/endpoints/models-\u0026-providers/get-a-model"},{"title":"Update a model","openapi":"/api-reference/bma.openapi.yaml post /v1/model_providers/{provider_id}/models/{model_id}","href":"/api-reference/endpoints/models-\u0026-providers/update-a-model"},{"title":"Delete a model","openapi":"/api-reference/bma.openapi.yaml delete /v1/model_providers/{provider_id}/models/{model_id}","href":"/api-reference/endpoints/models-\u0026-providers/delete-a-model"},{"title":"List available models.","openapi":"/api-reference/bma.openapi.yaml get /v1/models","href":"/api-reference/endpoints/models-\u0026-providers/list-available-models"},{"title":"Get a specific model.","openapi":"/api-reference/bma.openapi.yaml get /v1/models/{model_id}","href":"/api-reference/endpoints/models-\u0026-providers/get-a-specific-model"},{"title":"List a model's grants","openapi":"/api-reference/bma.openapi.yaml get /v1/models/{model_id}/grants","href":"/api-reference/endpoints/models-\u0026-providers/list-a-models-grants"},{"title":"Grant a model to a workspace","openapi":"/api-reference/bma.openapi.yaml post /v1/models/{model_id}/grants","href":"/api-reference/endpoints/models-\u0026-providers/grant-a-model-to-a-workspace"},{"title":"Revoke a model grant","openapi":"/api-reference/bma.openapi.yaml delete /v1/models/{model_id}/grants/{workspace_id}","href":"/api-reference/endpoints/models-\u0026-providers/revoke-a-model-grant"}]},{"group":"Webhooks","pages":[{"title":"List webhook endpoints","openapi":"/api-reference/bma.openapi.yaml get /v1/organizations/webhooks","href":"/api-reference/endpoints/webhooks/list-webhook-endpoints"},{"title":"Create a webhook endpoint (the response carries the signing secret once)","openapi":"/api-reference/bma.openapi.yaml post /v1/organizations/webhooks","href":"/api-reference/endpoints/webhooks/create-a-webhook-endpoint-the-response-carries-the-signing-secret-once"},{"title":"Retrieve a webhook endpoint","openapi":"/api-reference/bma.openapi.yaml get /v1/organizations/webhooks/{webhook_endpoint_id}","href":"/api-reference/endpoints/webhooks/retrieve-a-webhook-endpoint"},{"title":"Update a webhook endpoint","openapi":"/api-reference/bma.openapi.yaml post /v1/organizations/webhooks/{webhook_endpoint_id}","href":"/api-reference/endpoints/webhooks/update-a-webhook-endpoint"},{"title":"Delete a webhook endpoint","openapi":"/api-reference/bma.openapi.yaml delete /v1/organizations/webhooks/{webhook_endpoint_id}","href":"/api-reference/endpoints/webhooks/delete-a-webhook-endpoint"},{"title":"Replace the signing secret (the response carries it once)","openapi":"/api-reference/bma.openapi.yaml post /v1/organizations/webhooks/{webhook_endpoint_id}/regenerate_signing_secret","href":"/api-reference/endpoints/webhooks/replace-the-signing-secret-the-response-carries-it-once"}]},{"group":"Sessions","pages":[{"title":"List Sessions","description":"Lists the sessions of the workspace, newest first by default (`order=asc` for oldest first), ordered by `created_at` and then by ID. Archived sessions are left out unless `include_archived=true`; deleted sessions never appear. The filters combine: `agent_id` (narrowed further by `agent_version`), `deployment_id`, `memory_store_id` (sessions that mount that memory store), `statuses`, the `created_at` bounds, and repeated `metadata=key:value` (or `metadata[]=key:value`) exact key-value containment filters (only sessions whose `metadata` contains every pair). A page holds up to `limit` sessions; `next_page` is set when more sessions follow, `prev_page` on a page reached with a cursor, and either is passed back as `page` with the same `order`. List items leave out the `bma_model_override` extension: retrieve a session to read it. Read-only.\n\n**Authorization:** Organization API key (`x-api-key: bma_org_v1_…`), personal access token (`Authorization: Bearer bma_pat_v1_…`), OAuth access token or signed-in dashboard session; a user credential names its organization with `bma-organization-id`. The request acts in one workspace: the one named by `bma-workspace-id` (or `anthropic-workspace-id`; when both are sent they must agree), else the credential's default workspace (an API key's own workspace, else its organization's Default workspace), else the only workspace the credential can use. Every workspace role may call it (viewer included); organization owners and admins act as workspace admins in every workspace of their organization.\n\n**Limits:**\n\n- `limit`: default 20, maximum 100 sessions per page.\n- `metadata` filter: at most 16 pairs, keys 1-64 characters without NUL, values at most 512 characters without NUL.\n- Rate limit: one request of the organization's read budget ([Rate limits](https://docs.beeos.ai/guides/limits)).\n\n**Errors** (besides the [common errors](https://docs.beeos.ai/api-reference/errors) (401 authentication, 429 `rate_limited`, 500)):\n\n| Status | `error.type` | `error.code` | Cause | Fix |\n| --- | --- | --- | --- | --- |\n| 400 | `invalid_request_error` | `organization_required` | A user credential (personal access token, OAuth token, dashboard session) names no organization. | Name the organization with the `bma-organization-id` header. |\n| 400 | `invalid_request_error` | `project_required` | The credential can use several workspaces and the request names none. | Name the workspace with the `bma-workspace-id` header. |\n| 400 | `invalid_request_error` | `unsupported` | `memory_store_id` is sent with an empty value. | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 400 | `invalid_request_error` | `workspace_id_conflict` | `bma-workspace-id` and `anthropic-workspace-id` name different workspaces. | Correct the request as the message describes and send it again; the same request will keep failing. |","openapi":"/api-reference/bma.openapi.yaml get /v1/sessions","href":"/api-reference/endpoints/sessions/list-sessions"},{"title":"Create Session","openapi":"/api-reference/bma.openapi.yaml post /v1/sessions","href":"/api-reference/endpoints/sessions/create-session"},{"title":"Get Session","description":"Returns one session of the workspace with its agent snapshot, resources, usage and the BMA extension members (such as `bma_model_override`, `bma_harness` and `bma_placement`), along with a strong `ETag` response header covering both the session and its model override for conditional updates with `If-Match`. An archived session is still returned, with status `terminated` and `archived_at` set. A deleted session, a session of another workspace and an unknown ID all answer 404 `not_found_error` without an `error.code`. Read-only.\n\n**Authorization:** Organization API key (`x-api-key: bma_org_v1_…`), personal access token (`Authorization: Bearer bma_pat_v1_…`), OAuth access token or signed-in dashboard session; a user credential names its organization with `bma-organization-id`. The request acts in one workspace: the one named by `bma-workspace-id` (or `anthropic-workspace-id`; when both are sent they must agree), else the credential's default workspace (an API key's own workspace, else its organization's Default workspace), else the only workspace the credential can use. Every workspace role may call it (viewer included); organization owners and admins act as workspace admins in every workspace of their organization.\n\n**Limits:**\n\n- No limits specific to this endpoint.\n- Rate limit: one request of the organization's read budget ([Rate limits](https://docs.beeos.ai/guides/limits)).\n\n**Errors** (besides the [common errors](https://docs.beeos.ai/api-reference/errors) (401 authentication, 429 `rate_limited`, 500)):\n\n| Status | `error.type` | `error.code` | Cause | Fix |\n| --- | --- | --- | --- | --- |\n| 400 | `invalid_request_error` | `organization_required` | A user credential (personal access token, OAuth token, dashboard session) names no organization. | Name the organization with the `bma-organization-id` header. |\n| 400 | `invalid_request_error` | `project_required` | The credential can use several workspaces and the request names none. | Name the workspace with the `bma-workspace-id` header. |\n| 400 | `invalid_request_error` | `workspace_id_conflict` | `bma-workspace-id` and `anthropic-workspace-id` name different workspaces. | Correct the request as the message describes and send it again; the same request will keep failing. |","openapi":"/api-reference/bma.openapi.yaml get /v1/sessions/{session_id}","href":"/api-reference/endpoints/sessions/get-session"},{"title":"Update Session","openapi":"/api-reference/bma.openapi.yaml post /v1/sessions/{session_id}","href":"/api-reference/endpoints/sessions/update-session"},{"title":"Delete Session","openapi":"/api-reference/bma.openapi.yaml delete /v1/sessions/{session_id}","href":"/api-reference/endpoints/sessions/delete-session"},{"title":"Archive Session","openapi":"/api-reference/bma.openapi.yaml post /v1/sessions/{session_id}/archive","href":"/api-reference/endpoints/sessions/archive-session"},{"title":"Revoke an archived session's executor","openapi":"/api-reference/bma.openapi.yaml post /v1/sessions/{session_id}/bma_executor_revocation","href":"/api-reference/endpoints/sessions/revoke-an-archived-sessions-executor"},{"title":"List Events","openapi":"/api-reference/bma.openapi.yaml get /v1/sessions/{session_id}/events","href":"/api-reference/endpoints/sessions/list-events"},{"title":"Send Events","openapi":"/api-reference/bma.openapi.yaml post /v1/sessions/{session_id}/events","href":"/api-reference/endpoints/sessions/send-events"},{"title":"Stream Events","openapi":"/api-reference/bma.openapi.yaml get /v1/sessions/{session_id}/events/stream","href":"/api-reference/endpoints/sessions/stream-events"},{"title":"Fork a session (copies the conversation only, not files)","openapi":"/api-reference/bma.openapi.yaml post /v1/sessions/{session_id}/fork","href":"/api-reference/endpoints/sessions/fork-a-session-copies-the-conversation-only-not-files"},{"title":"List Session Resources","openapi":"/api-reference/bma.openapi.yaml get /v1/sessions/{session_id}/resources","href":"/api-reference/endpoints/sessions/list-session-resources"},{"title":"Add Session Resource","openapi":"/api-reference/bma.openapi.yaml post /v1/sessions/{session_id}/resources","href":"/api-reference/endpoints/sessions/add-session-resource"},{"title":"Get Session Resource","openapi":"/api-reference/bma.openapi.yaml get /v1/sessions/{session_id}/resources/{resource_id}","href":"/api-reference/endpoints/sessions/get-session-resource"},{"title":"Update Session Resource","openapi":"/api-reference/bma.openapi.yaml post /v1/sessions/{session_id}/resources/{resource_id}","href":"/api-reference/endpoints/sessions/update-session-resource"},{"title":"Delete Session Resource","openapi":"/api-reference/bma.openapi.yaml delete /v1/sessions/{session_id}/resources/{resource_id}","href":"/api-reference/endpoints/sessions/delete-session-resource"},{"title":"List a session's tool grants","openapi":"/api-reference/bma.openapi.yaml get /v1/sessions/{session_id}/tool_grants","href":"/api-reference/endpoints/sessions/list-a-sessions-tool-grants"},{"title":"Revoke a session's tool grant","openapi":"/api-reference/bma.openapi.yaml post /v1/sessions/{session_id}/tool_grants/{grant_id}/revoke","href":"/api-reference/endpoints/sessions/revoke-a-sessions-tool-grant"}]},{"group":"Skills","pages":[{"title":"List skills","openapi":"/api-reference/bma.openapi.yaml get /v1/skills","href":"/api-reference/endpoints/skills/list-skills"},{"title":"Create a skill","openapi":"/api-reference/bma.openapi.yaml post /v1/skills","href":"/api-reference/endpoints/skills/create-a-skill"},{"title":"Retrieve a skill","openapi":"/api-reference/bma.openapi.yaml get /v1/skills/{skill_id}","href":"/api-reference/endpoints/skills/retrieve-a-skill"},{"title":"Delete a skill","openapi":"/api-reference/bma.openapi.yaml delete /v1/skills/{skill_id}","href":"/api-reference/endpoints/skills/delete-a-skill"},{"title":"List skill versions","openapi":"/api-reference/bma.openapi.yaml get /v1/skills/{skill_id}/versions","href":"/api-reference/endpoints/skills/list-skill-versions"},{"title":"Create a skill version","openapi":"/api-reference/bma.openapi.yaml post /v1/skills/{skill_id}/versions","href":"/api-reference/endpoints/skills/create-a-skill-version"},{"title":"Retrieve a skill version","openapi":"/api-reference/bma.openapi.yaml get /v1/skills/{skill_id}/versions/{version}","href":"/api-reference/endpoints/skills/retrieve-a-skill-version"},{"title":"Delete a skill version","openapi":"/api-reference/bma.openapi.yaml delete /v1/skills/{skill_id}/versions/{version}","href":"/api-reference/endpoints/skills/delete-a-skill-version"},{"title":"Download a skill version","openapi":"/api-reference/bma.openapi.yaml get /v1/skills/{skill_id}/versions/{version}/content","href":"/api-reference/endpoints/skills/download-a-skill-version"}]},{"group":"Terminal sessions","pages":[{"title":"List the terminal sessions of a machine","openapi":"/api-reference/bma.openapi.yaml get /v1/terminal_sessions","href":"/api-reference/endpoints/terminal-sessions/list-the-terminal-sessions-of-a-machine"},{"title":"Open a terminal session (body machine_id)","openapi":"/api-reference/bma.openapi.yaml post /v1/terminal_sessions","href":"/api-reference/endpoints/terminal-sessions/open-a-terminal-session-body-machine_id"},{"title":"Retrieve a terminal session","openapi":"/api-reference/bma.openapi.yaml get /v1/terminal_sessions/{terminal_session_id}","href":"/api-reference/endpoints/terminal-sessions/retrieve-a-terminal-session"},{"title":"Close a terminal session","openapi":"/api-reference/bma.openapi.yaml post /v1/terminal_sessions/{terminal_session_id}/close","href":"/api-reference/endpoints/terminal-sessions/close-a-terminal-session"},{"title":"Mint a single-use ticket (purpose connect)","openapi":"/api-reference/bma.openapi.yaml post /v1/terminal_sessions/{terminal_session_id}/tickets","href":"/api-reference/endpoints/terminal-sessions/mint-a-single-use-ticket-purpose-connect"}]},{"group":"User profiles","pages":[{"title":"List user profiles","openapi":"/api-reference/bma.openapi.yaml get /v1/user_profiles","href":"/api-reference/endpoints/user-profiles/list-user-profiles"},{"title":"Create a user profile","openapi":"/api-reference/bma.openapi.yaml post /v1/user_profiles","href":"/api-reference/endpoints/user-profiles/create-a-user-profile"},{"title":"Retrieve a user profile","openapi":"/api-reference/bma.openapi.yaml get /v1/user_profiles/{user_profile_id}","href":"/api-reference/endpoints/user-profiles/retrieve-a-user-profile"},{"title":"Update a user profile","openapi":"/api-reference/bma.openapi.yaml post /v1/user_profiles/{user_profile_id}","href":"/api-reference/endpoints/user-profiles/update-a-user-profile"},{"title":"Delete a user profile","openapi":"/api-reference/bma.openapi.yaml delete /v1/user_profiles/{user_profile_id}","href":"/api-reference/endpoints/user-profiles/delete-a-user-profile"}]},{"group":"Vaults","pages":[{"title":"List vaults","openapi":"/api-reference/bma.openapi.yaml get /v1/vaults","href":"/api-reference/endpoints/vaults/list-vaults"},{"title":"Create a vault","openapi":"/api-reference/bma.openapi.yaml post /v1/vaults","href":"/api-reference/endpoints/vaults/create-a-vault"},{"title":"Retrieve a vault","openapi":"/api-reference/bma.openapi.yaml get /v1/vaults/{vault_id}","href":"/api-reference/endpoints/vaults/retrieve-a-vault"},{"title":"Update a vault","openapi":"/api-reference/bma.openapi.yaml post /v1/vaults/{vault_id}","href":"/api-reference/endpoints/vaults/update-a-vault"},{"title":"Delete a vault","openapi":"/api-reference/bma.openapi.yaml delete /v1/vaults/{vault_id}","href":"/api-reference/endpoints/vaults/delete-a-vault"},{"title":"Archive a vault","openapi":"/api-reference/bma.openapi.yaml post /v1/vaults/{vault_id}/archive","href":"/api-reference/endpoints/vaults/archive-a-vault"},{"title":"List credentials","openapi":"/api-reference/bma.openapi.yaml get /v1/vaults/{vault_id}/credentials","href":"/api-reference/endpoints/vaults/list-credentials"},{"title":"Create a credential","openapi":"/api-reference/bma.openapi.yaml post /v1/vaults/{vault_id}/credentials","href":"/api-reference/endpoints/vaults/create-a-credential"},{"title":"Retrieve a credential","openapi":"/api-reference/bma.openapi.yaml get /v1/vaults/{vault_id}/credentials/{credential_id}","href":"/api-reference/endpoints/vaults/retrieve-a-credential"},{"title":"Update or rotate a credential","openapi":"/api-reference/bma.openapi.yaml post /v1/vaults/{vault_id}/credentials/{credential_id}","href":"/api-reference/endpoints/vaults/update-or-rotate-a-credential"},{"title":"Delete a credential","openapi":"/api-reference/bma.openapi.yaml delete /v1/vaults/{vault_id}/credentials/{credential_id}","href":"/api-reference/endpoints/vaults/delete-a-credential"},{"title":"Archive a credential","openapi":"/api-reference/bma.openapi.yaml post /v1/vaults/{vault_id}/credentials/{credential_id}/archive","href":"/api-reference/endpoints/vaults/archive-a-credential"},{"title":"Validate an MCP OAuth credential","openapi":"/api-reference/bma.openapi.yaml post /v1/vaults/{vault_id}/credentials/{credential_id}/mcp_oauth_validate","href":"/api-reference/endpoints/vaults/validate-an-mcp-oauth-credential"}]},{"group":"Web search \u0026 fetch","pages":[{"title":"Fetch a web page","openapi":"/api-reference/bma.openapi.yaml post /v1/web_fetches","href":"/api-reference/endpoints/web-search-\u0026-fetch/fetch-a-web-page"},{"title":"Search the web","openapi":"/api-reference/bma.openapi.yaml post /v1/web_searches","href":"/api-reference/endpoints/web-search-\u0026-fetch/search-the-web"}]}]}]},{"group":"bma-executor-sdk","pages":[{"title":"bma-executor-sdk Protocol Reference","sidebarTitle":"Protocol overview","icon":"microchip","href":"/api-reference/bma-executor-sdk/overview"},{"group":"Endpoints","expanded":true,"pages":[{"title":"Connection \u0026 lifecycle","icon":"plug","href":"/api-reference/bma-executor-sdk/connection"},{"title":"Sessions \u0026 turns","icon":"messages","href":"/api-reference/bma-executor-sdk/sessions-and-turns"},{"title":"Tools \u0026 interactions","icon":"wrench","href":"/api-reference/bma-executor-sdk/tools-and-interactions"},{"title":"Processes \u0026 terminals","icon":"terminal","href":"/api-reference/bma-executor-sdk/processes-and-terminals"},{"title":"Desktop, screen \u0026 workspace","icon":"desktop","href":"/api-reference/bma-executor-sdk/desktop-and-workspace"}]}]}]},{"tab":"Self-hosting","pages":[{"title":"Self-hosting","href":"/self-hosting/overview"}]},{"tab":"Changelog \u0026 roadmap","pages":[{"title":"Changelog \u0026 roadmap","href":"/changelog"}]}]},{"language":"zh","pages":[{"title":"zh","href":"/zh/api-reference/endpoints/sessions/create-session"}]},{"language":"zh-Hant","pages":[{"title":"zh-Hant","href":"/zh-hant/api-reference/endpoints/sessions/create-session"}]},{"language":"ja","pages":[{"title":"ja","href":"/ja/api-reference/endpoints/sessions/create-session"}]},{"language":"ko","pages":[{"title":"ko","href":"/ko/api-reference/endpoints/sessions/create-session"}]}]},"basePath":"","title":"Create Session - BMA Developer Docs","buildId":"815f1a3055e5","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-1AKe0ef2.js","snippetPresets-CngcX0JF.js","utils-Dn_b4b8k.js","style-to-object-BY3JEAdk.js","utils-Gx5d07QN.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-CRl5XKI1.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DvHqN_Pm.js","_Uint8Array-B1ND6YRH.js","isObject-FP1Yky1u.js","ApiExamples-D7M37pdg.js","usePlaygroundInputsStore-DVayymCv.js","shallow-Bf79Qs-6.js","isEqual-DVW5K_pQ.js","CodeSnippets-4lATClrm.js","CodeSnippet-s__4qicF.js","use-playground-group-access-BHEk5kJ3.js","Page-DJ-Y-H3C.js","api-description-markdown-Dr4kHu1P.js","DynamicMarkdown-Bny17ned.js","SectionHeading-9Y8On-s1.js","MethodPill-BJEvxiO8.js","getPastedJson-58y35ABl.js","Check2Icon-CLmJh0P7.js","axios-CsQoIw0U.js","Markdown-CY5OpB5G.js","AssistantPageLink-Dh-tOAEH.js","dist-B74kwL_M.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}