Changes a session’s title and metadata (and the BMA extensions bma_executor_config and bma_model_override) and returns the session with its updated ETag header. title replaces the title (an empty string clears it, null leaves it unchanged); metadata is merged key by key, and a key set to null or to an empty string is deleted. A change of title or metadata is recorded as a session.updated event in the session’s event list and stream; an update that changes nothing records none. Any other member (agent, budget, vault_ids) is refused: the agent snapshot is fixed when the session is created. Updates are accepted while a turn runs; an archived session answers 409 conflict_error without an error.code. Send an If-Match header with the ETag from a prior create, retrieve or update to make the update conditional (RFC 9110): a stale ETag is refused with 412 conflict_error (precondition_failed) across both session fields and bma_model_override.
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 4 MiB (4,194,304 bytes).
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
harness_unavailable
A new bma_executor_config cannot run on the session’s brain.
Correct the request as the message describes and send it again; the same request will keep failing.
400
invalid_request_error
invalid_field
title is not a string, metadata is not an object of strings, bma_executor_config is invalid, or If-Match is malformed.
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 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
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 the new 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
A new bma_executor_config fits none of the session’s placement candidates.
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
unsupported
The body sets agent.skills; skills are fixed when the session is created.
Correct the request as the message describes and send it again; the same request will keep failing.
400
invalid_request_error
unsupported_session_option
bma_model_override is sent and the deployment does not serve model overrides.
Correct the request as the message describes and send it again; the same request will keep failing.
400
invalid_request_error
unsupported_session_override
The body sets a member other than title, metadata, bma_executor_config and bma_model_override (for example agent, budget or vault_ids).
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 session’s brain runs 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
environment_not_found
The session’s environment no longer exists, checked when bma_executor_config changes.
Check the ID and the organization or workspace it belongs to; do not retry the same request.
404
not_found_error
machine_not_found
A machine of the session’s placement no longer exists or may not be used.
Check the ID and the organization or workspace it belongs to; do not retry the same request.
404
not_found_error
model_override_not_found
bma_model_override patches an override (an object without model) and the session has none.
Check the ID and the organization or workspace it belongs to; do not retry the same request.
412
conflict_error
precondition_failed
The If-Match header does not match the session’s current ETag.
Re-read the resource to obtain its current ETag and state, reconcile, then retry.
413
request_too_large
request_too_large
The body is larger than 4 MiB.
Reduce the size of the request body or upload in smaller parts.
ID of the session (ses_ followed by 26 lowercase base32 characters). A session of another workspace, a deleted session and an unknown ID all answer 404 not_found_error without an error.code.
Body
application/json
agent
object
Not supported on BMA: Refused with 400 (unsupported for agent.skills, unsupported_session_override otherwise).
The agent snapshot, including tools and mcp_servers, is fixed when the session is created.
Show child attributes
budget
object | null
Not supported on BMA: Refused with 400 unsupported_session_override.
Enforced spend ceiling for the session. Set an object to replace the budget of a session that was created with one, or null to remove it; omit to preserve. A budget cannot be added to a session created without one (rejected with reason budget_create_only), and a removed budget cannot be re-added. Allowed in any non-terminated status. Lowering max_list_cost to at or below the session's consumed list cost is rejected with reason budget_not_raised, and every model the session can run must have a public list price or the request is rejected with reason model_not_budgetable.
Show child attributes
metadata
object | null
Metadata patch merged into the session's metadata: a string sets the key, null or an empty string deletes it; keys not sent are kept. Omit or send null to leave the metadata unchanged. The merged metadata holds at most 16 pairs, keys of 1 to 64 characters and values of at most 512 characters.
Show child attributes
title
string | null
New title. An empty string or null clears the title; omitted leaves it unchanged.
vault_ids
string[]
Not supported on BMA: Refused with 400 unsupported_session_override.
Vault IDs (vlt_*) to attach to the session. Not yet supported; requests setting this field are rejected. Reserved for future use.
Response
The session after the update.
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/update-session","slug":"/api-reference/endpoints/sessions/update-session","pageMetadata":{"openapi":"/api-reference/bma.openapi.yaml post /v1/sessions/{session_id}","description":"Changes a session's `title` and `metadata` (and the BMA extensions `bma_executor_config` and `bma_model_override`) and returns the session with its updated `ETag` header. `title` replaces the title (an empty string clears it, null leaves it unchanged); `metadata` is merged key by key, and a key set to null or to an empty string is deleted. A change of title or metadata is recorded as a `session.updated` event in the session's event list and stream; an update that changes nothing records none. Any other member (`agent`, `budget`, `vault_ids`) is refused: the agent snapshot is fixed when the session is created. Updates are accepted while a turn runs; an archived session answers 409 `conflict_error` without an `error.code`. Send an `If-Match` header with the `ETag` from a prior create, retrieve or update to make the update conditional (RFC 9110): a stale `ETag` is refused with 412 `conflict_error` (`precondition_failed`) across both session fields and `bma_model_override`.\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 4 MiB (4,194,304 bytes).\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` | `harness_unavailable` | A new `bma_executor_config` cannot run on the session's brain. | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 400 | `invalid_request_error` | `invalid_field` | `title` is not a string, `metadata` is not an object of strings, `bma_executor_config` is invalid, or `If-Match` 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_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` 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` | `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 the new `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` | A new `bma_executor_config` fits none of the session's placement candidates. | 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` | `unsupported` | The body sets `agent.skills`; skills are fixed when the session is created. | 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` | `bma_model_override` is sent and the deployment does not serve model overrides. | 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` | The body sets a member other than `title`, `metadata`, `bma_executor_config` and `bma_model_override` (for example `agent`, `budget` or `vault_ids`). | 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 session's brain runs 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` | `environment_not_found` | The session's environment no longer exists, checked when `bma_executor_config` changes. | 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` | A machine of the session's placement no longer exists or may not be used. | Check the ID and the organization or workspace it belongs to; do not retry the same request. |\n| 404 | `not_found_error` | `model_override_not_found` | `bma_model_override` patches an override (an object without `model`) and the session has none. | Check the ID and the organization or workspace it belongs to; do not retry the same request. |\n| 412 | `conflict_error` | `precondition_failed` | The `If-Match` header does not match the session's current `ETag`. | Re-read the resource to obtain its current ETag and state, reconcile, then retry. |\n| 413 | `request_too_large` | `request_too_large` | The body is larger than 4 MiB. | Reduce the size of the request body or upload in smaller parts. |","href":"/api-reference/endpoints/sessions/update-session","title":"Update 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: [\"Changes a session’s \", _jsx(_components.code, {\n children: \"title\"\n }), \" and \", _jsx(_components.code, {\n children: \"metadata\"\n }), \" (and the BMA extensions \", _jsx(_components.code, {\n children: \"bma_executor_config\"\n }), \" and \", _jsx(_components.code, {\n children: \"bma_model_override\"\n }), \") and returns the session with its updated \", _jsx(_components.code, {\n children: \"ETag\"\n }), \" header. \", _jsx(_components.code, {\n children: \"title\"\n }), \" replaces the title (an empty string clears it, null leaves it unchanged); \", _jsx(_components.code, {\n children: \"metadata\"\n }), \" is merged key by key, and a key set to null or to an empty string is deleted. A change of title or metadata is recorded as a \", _jsx(_components.code, {\n children: \"session.updated\"\n }), \" event in the session’s event list and stream; an update that changes nothing records none. Any other member (\", _jsx(_components.code, {\n children: \"agent\"\n }), \", \", _jsx(_components.code, {\n children: \"budget\"\n }), \", \", _jsx(_components.code, {\n children: \"vault_ids\"\n }), \") is refused: the agent snapshot is fixed when the session is created. Updates are accepted while a turn runs; an archived session answers 409 \", _jsx(_components.code, {\n children: \"conflict_error\"\n }), \" without an \", _jsx(_components.code, {\n children: \"error.code\"\n }), \". Send an \", _jsx(_components.code, {\n children: \"If-Match\"\n }), \" header with the \", _jsx(_components.code, {\n children: \"ETag\"\n }), \" from a prior create, retrieve or update to make the update conditional (RFC 9110): a stale \", _jsx(_components.code, {\n children: \"ETag\"\n }), \" is refused with 412 \", _jsx(_components.code, {\n children: \"conflict_error\"\n }), \" (\", _jsx(_components.code, {\n children: \"precondition_failed\"\n }), \") across both session fields and \", _jsx(_components.code, {\n children: \"bma_model_override\"\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 4 MiB (4,194,304 bytes).\"\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: \"harness_unavailable\"\n })\n }), _jsxs(_components.td, {\n children: [\"A new \", _jsx(_components.code, {\n children: \"bma_executor_config\"\n }), \" cannot run on the session’s 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: \"invalid_field\"\n })\n }), _jsxs(_components.td, {\n children: [_jsx(_components.code, {\n children: \"title\"\n }), \" is not a string, \", _jsx(_components.code, {\n children: \"metadata\"\n }), \" is not an object of strings, \", _jsx(_components.code, {\n children: \"bma_executor_config\"\n }), \" is invalid, or \", _jsx(_components.code, {\n children: \"If-Match\"\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_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 }), \" 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: \"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 the new \", _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: [\"A new \", _jsx(_components.code, {\n children: \"bma_executor_config\"\n }), \" fits none of the session’s placement candidates.\"]\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: \"unsupported\"\n })\n }), _jsxs(_components.td, {\n children: [\"The body sets \", _jsx(_components.code, {\n children: \"agent.skills\"\n }), \"; skills are fixed when the session is created.\"]\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: [_jsx(_components.code, {\n children: \"bma_model_override\"\n }), \" is sent and the deployment does not serve model overrides.\"]\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: [\"The body sets a member other than \", _jsx(_components.code, {\n children: \"title\"\n }), \", \", _jsx(_components.code, {\n children: \"metadata\"\n }), \", \", _jsx(_components.code, {\n children: \"bma_executor_config\"\n }), \" and \", _jsx(_components.code, {\n children: \"bma_model_override\"\n }), \" (for example \", _jsx(_components.code, {\n children: \"agent\"\n }), \", \", _jsx(_components.code, {\n children: \"budget\"\n }), \" or \", _jsx(_components.code, {\n children: \"vault_ids\"\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 session’s brain runs 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: \"environment_not_found\"\n })\n }), _jsxs(_components.td, {\n children: [\"The session’s environment no longer exists, checked when \", _jsx(_components.code, {\n children: \"bma_executor_config\"\n }), \" changes.\"]\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 }), _jsx(_components.td, {\n children: \"A machine of the session’s placement no longer exists or may not be used.\"\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: \"model_override_not_found\"\n })\n }), _jsxs(_components.td, {\n children: [_jsx(_components.code, {\n children: \"bma_model_override\"\n }), \" patches an override (an object without \", _jsx(_components.code, {\n children: \"model\"\n }), \") and the session has none.\"]\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: \"412\"\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: \"precondition_failed\"\n })\n }), _jsxs(_components.td, {\n children: [\"The \", _jsx(_components.code, {\n children: \"If-Match\"\n }), \" header does not match the session’s current \", _jsx(_components.code, {\n children: \"ETag\"\n }), \".\"]\n }), _jsx(_components.td, {\n children: \"Re-read the resource to obtain its current ETag and state, reconcile, then retry.\"\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 4 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/{session_id}","description":"Changes a session's `title` and `metadata` (and the BMA extensions `bma_executor_config` and `bma_model_override`) and returns the session with its updated `ETag` header. `title` replaces the title (an empty string clears it, null leaves it unchanged); `metadata` is merged key by key, and a key set to null or to an empty string is deleted. A change of title or metadata is recorded as a `session.updated` event in the session's event list and stream; an update that changes nothing records none. Any other member (`agent`, `budget`, `vault_ids`) is refused: the agent snapshot is fixed when the session is created. Updates are accepted while a turn runs; an archived session answers 409 `conflict_error` without an `error.code`. Send an `If-Match` header with the `ETag` from a prior create, retrieve or update to make the update conditional (RFC 9110): a stale `ETag` is refused with 412 `conflict_error` (`precondition_failed`) across both session fields and `bma_model_override`.\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 4 MiB (4,194,304 bytes).\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` | `harness_unavailable` | A new `bma_executor_config` cannot run on the session's brain. | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 400 | `invalid_request_error` | `invalid_field` | `title` is not a string, `metadata` is not an object of strings, `bma_executor_config` is invalid, or `If-Match` 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_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` 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` | `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 the new `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` | A new `bma_executor_config` fits none of the session's placement candidates. | 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` | `unsupported` | The body sets `agent.skills`; skills are fixed when the session is created. | 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` | `bma_model_override` is sent and the deployment does not serve model overrides. | 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` | The body sets a member other than `title`, `metadata`, `bma_executor_config` and `bma_model_override` (for example `agent`, `budget` or `vault_ids`). | 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 session's brain runs 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` | `environment_not_found` | The session's environment no longer exists, checked when `bma_executor_config` changes. | 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` | A machine of the session's placement no longer exists or may not be used. | Check the ID and the organization or workspace it belongs to; do not retry the same request. |\n| 404 | `not_found_error` | `model_override_not_found` | `bma_model_override` patches an override (an object without `model`) and the session has none. | Check the ID and the organization or workspace it belongs to; do not retry the same request. |\n| 412 | `conflict_error` | `precondition_failed` | The `If-Match` header does not match the session's current `ETag`. | Re-read the resource to obtain its current ETag and state, reconcile, then retry. |\n| 413 | `request_too_large` | `request_too_large` | The body is larger than 4 MiB. | Reduce the size of the request body or upload in smaller parts. |","href":"/api-reference/endpoints/sessions/update-session","title":"Update Session"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"sessions.update","tags":["Sessions"],"summary":"Update Session","x-bma-extension":false,"parameters":["4280c979-e71a-4016-8b19-9e938f948cab"],"requestBody":"4f9efe2c-6884-48ba-bfdd-1f606a7b51af","responses":{"200":"0591ef6e-9c10-4efa-9989-acf234af1e24","4XX":"3a88452c-a014-4b1d-abc5-0cecf6436498","5XX":"988a38d1-6501-4cb2-8651-1ca683ebbeae"},"description":"Changes a session's `title` and `metadata` (and the BMA extensions `bma_executor_config` and `bma_model_override`) and returns the session with its updated `ETag` header. `title` replaces the title (an empty string clears it, null leaves it unchanged); `metadata` is merged key by key, and a key set to null or to an empty string is deleted. A change of title or metadata is recorded as a `session.updated` event in the session's event list and stream; an update that changes nothing records none. Any other member (`agent`, `budget`, `vault_ids`) is refused: the agent snapshot is fixed when the session is created. Updates are accepted while a turn runs; an archived session answers 409 `conflict_error` without an `error.code`. Send an `If-Match` header with the `ETag` from a prior create, retrieve or update to make the update conditional (RFC 9110): a stale `ETag` is refused with 412 `conflict_error` (`precondition_failed`) across both session fields and `bma_model_override`.\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 4 MiB (4,194,304 bytes).\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` | `harness_unavailable` | A new `bma_executor_config` cannot run on the session's brain. | Correct the request as the message describes and send it again; the same request will keep failing. |\n| 400 | `invalid_request_error` | `invalid_field` | `title` is not a string, `metadata` is not an object of strings, `bma_executor_config` is invalid, or `If-Match` 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_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` 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` | `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 the new `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` | A new `bma_executor_config` fits none of the session's placement candidates. | 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` | `unsupported` | The body sets `agent.skills`; skills are fixed when the session is created. | 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` | `bma_model_override` is sent and the deployment does not serve model overrides. | 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` | The body sets a member other than `title`, `metadata`, `bma_executor_config` and `bma_model_override` (for example `agent`, `budget` or `vault_ids`). | 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 session's brain runs 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` | `environment_not_found` | The session's environment no longer exists, checked when `bma_executor_config` changes. | 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` | A machine of the session's placement no longer exists or may not be used. | Check the ID and the organization or workspace it belongs to; do not retry the same request. |\n| 404 | `not_found_error` | `model_override_not_found` | `bma_model_override` patches an override (an object without `model`) and the session has none. | Check the ID and the organization or workspace it belongs to; do not retry the same request. |\n| 412 | `conflict_error` | `precondition_failed` | The `If-Match` header does not match the session's current `ETag`. | Re-read the resource to obtain its current ETag and state, reconcile, then retry. |\n| 413 | `request_too_large` | `request_too_large` | The body is larger than 4 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 4 MiB (4,194,304 bytes).","`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 4 MiB."},{"code":"invalid_field","when":"`title` is not a string, `metadata` is not an object of strings, `bma_executor_config` is invalid, or `If-Match` is malformed."},{"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":"precondition_failed","when":"The `If-Match` header does not match the session's current `ETag`."},{"code":"unsupported_session_override","when":"The body sets a member other than `title`, `metadata`, `bma_executor_config` and `bma_model_override` (for example `agent`, `budget` or `vault_ids`)."},{"code":"unsupported","when":"The body sets `agent.skills`; skills are fixed when the session is created."},{"code":"unsupported_session_option","when":"`bma_model_override` is sent and the deployment does not serve model overrides."},{"code":"invalid_model_override","when":"`bma_model_override` 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":"harness_unavailable","when":"A new `bma_executor_config` cannot run on the session's brain."},{"code":"placement_unsatisfiable","when":"A new `bma_executor_config` fits none of the session's placement candidates."},{"code":"model_not_available","when":"The brain on the session's machine does not offer the model of the new `bma_executor_config`."},{"code":"remote_brain_not_allowed","when":"The session's brain runs on another machine and no hands machine's owner allows a remote brain."},{"code":"permission_denied","when":"The caller's workspace role is `viewer`, which may read sessions but not change them."},{"code":"model_override_not_found","when":"`bma_model_override` patches an override (an object without `model`) and the session has none."},{"code":"machine_not_found","when":"A machine of the session's placement no longer exists or may not be used."},{"code":"environment_not_found","when":"The session's environment no longer exists, checked when `bma_executor_config` changes."},{"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/ses_agray4o575ytrcguudsrm73sbq\" \\\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 \"title\": \"Q3 revenue report (final)\",\n \"metadata\": {\n \"ticket\": \"OPS-1430\",\n \"reviewer\": null\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.update(\n \"ses_agray4o575ytrcguudsrm73sbq\",\n title=\"Q3 revenue report (final)\",\n metadata={\n \"ticket\": \"OPS-1430\",\n \"reviewer\": None,\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.update(\"ses_agray4o575ytrcguudsrm73sbq\", {\n title: \"Q3 revenue report (final)\",\n metadata: {\n ticket: \"OPS-1430\",\n reviewer: null,\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/ses_agray4o575ytrcguudsrm73sbq\",\n\tmap[string]any{\n\t\t\"title\": \"Q3 revenue report (final)\",\n\t\t\"metadata\": map[string]any{\n\t\t\t\"ticket\": \"OPS-1430\",\n\t\t\t\"reviewer\": nil,\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 update ses_agray4o575ytrcguudsrm73sbq --title 'Q3 revenue report (final)' --metadata '{\"ticket\":\"OPS-1430\",\"reviewer\":null}'"}],"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/{session_id}","baseUrlOptions":["https://api.beeos.ai","http://127.0.0.1:58080"],"title":"Update Session","codeSamples":[{"label":"curl","lang":"bash","source":"curl -sS -X POST \"$BMA_BASE_URL/v1/sessions/ses_agray4o575ytrcguudsrm73sbq\" \\\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 \"title\": \"Q3 revenue report (final)\",\n \"metadata\": {\n \"ticket\": \"OPS-1430\",\n \"reviewer\": null\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.update(\n \"ses_agray4o575ytrcguudsrm73sbq\",\n title=\"Q3 revenue report (final)\",\n metadata={\n \"ticket\": \"OPS-1430\",\n \"reviewer\": None,\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.update(\"ses_agray4o575ytrcguudsrm73sbq\", {\n title: \"Q3 revenue report (final)\",\n metadata: {\n ticket: \"OPS-1430\",\n reviewer: null,\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/ses_agray4o575ytrcguudsrm73sbq\",\n\tmap[string]any{\n\t\t\"title\": \"Q3 revenue report (final)\",\n\t\t\"metadata\": map[string]any{\n\t\t\t\"ticket\": \"OPS-1430\",\n\t\t\t\"reviewer\": nil,\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 update ses_agray4o575ytrcguudsrm73sbq --title 'Q3 revenue report (final)' --metadata '{\"ticket\":\"OPS-1430\",\"reviewer\":null}'"}],"requestExampleLanguages":["bash","python","javascript","go"],"requiredOnlyExamples":false,"requestExampleType":"codeSamples","responseExampleType":"generated"},"dependencies":{"parameters":{"4280c979-e71a-4016-8b19-9e938f948cab":{"name":"session_id","in":"path","required":true,"schema":{"type":"string","isRequired":true,"description":"ID of the session (`ses_` followed by 26 lowercase base32 characters). A session of another workspace, a deleted session and an unknown ID all answer 404 `not_found_error` without an `error.code`.","uniqueKey":"","typeLabel":"string"},"description":"ID of the session (`ses_` followed by 26 lowercase base32 characters). A session of another workspace, a deleted session and an unknown ID all answer 404 `not_found_error` without an `error.code`.","example":"ses_agray4o575ytrcguudsrm73sbq"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"agent":{"type":"object","properties":{"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.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":"Endpoint URL for the MCP server.","isRequired":true,"uniqueKey":"agent.mcp_servers.items.[INDEX].url","typeLabel":"string"}},"required":["name","type","url"],"description":"URL-based MCP server connection.","uniqueKey":"agent.mcp_servers.items.[INDEX]","typeLabel":"object"},"description":"Replacement MCP server list. Full replacement: the provided array becomes the new value. Send an empty array to clear; omit to preserve.","uniqueKey":"agent.mcp_servers","typeLabel":"object[]"},"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.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.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.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.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0.enabled.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.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.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0.permission_policy.oneOf.0.type","typeLabel":"string"}},"uniqueKey":"agent.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.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0.permission_policy.oneOf.1.type","typeLabel":"string"}},"uniqueKey":"agent.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.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0.permission_policy.oneOf.2.type","typeLabel":"string"}},"uniqueKey":"agent.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.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.0.permission_policy.oneOf.3","typeLabel":"null"}],"uniqueKey":"agent.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.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 override for a specific tool within a toolset.","required":["name"],"properties":{"name":{"type":"string","const":"edit","description":"Must be \"edit\".","isRequired":true,"uniqueKey":"agent.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.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.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1.enabled.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.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.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1.permission_policy.oneOf.0.type","typeLabel":"string"}},"uniqueKey":"agent.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.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1.permission_policy.oneOf.1.type","typeLabel":"string"}},"uniqueKey":"agent.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.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1.permission_policy.oneOf.2.type","typeLabel":"string"}},"uniqueKey":"agent.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.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.1.permission_policy.oneOf.3","typeLabel":"null"}],"uniqueKey":"agent.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.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 override for a specific tool within a toolset.","required":["name"],"properties":{"name":{"type":"string","const":"read","description":"Must be \"read\".","isRequired":true,"uniqueKey":"agent.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.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.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2.enabled.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.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.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2.permission_policy.oneOf.0.type","typeLabel":"string"}},"uniqueKey":"agent.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.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2.permission_policy.oneOf.1.type","typeLabel":"string"}},"uniqueKey":"agent.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.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2.permission_policy.oneOf.2.type","typeLabel":"string"}},"uniqueKey":"agent.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.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.2.permission_policy.oneOf.3","typeLabel":"null"}],"uniqueKey":"agent.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.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 override for a specific tool within a toolset.","required":["name"],"properties":{"name":{"type":"string","const":"write","description":"Must be \"write\".","isRequired":true,"uniqueKey":"agent.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.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.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3.enabled.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.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.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3.permission_policy.oneOf.0.type","typeLabel":"string"}},"uniqueKey":"agent.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.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3.permission_policy.oneOf.1.type","typeLabel":"string"}},"uniqueKey":"agent.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.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3.permission_policy.oneOf.2.type","typeLabel":"string"}},"uniqueKey":"agent.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.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.3.permission_policy.oneOf.3","typeLabel":"null"}],"uniqueKey":"agent.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.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 override for a specific tool within a toolset.","required":["name"],"properties":{"name":{"type":"string","const":"glob","description":"Must be \"glob\".","isRequired":true,"uniqueKey":"agent.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.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.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4.enabled.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.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.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4.permission_policy.oneOf.0.type","typeLabel":"string"}},"uniqueKey":"agent.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.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4.permission_policy.oneOf.1.type","typeLabel":"string"}},"uniqueKey":"agent.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.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4.permission_policy.oneOf.2.type","typeLabel":"string"}},"uniqueKey":"agent.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.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.4.permission_policy.oneOf.3","typeLabel":"null"}],"uniqueKey":"agent.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.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 override for a specific tool within a toolset.","required":["name"],"properties":{"name":{"type":"string","const":"grep","description":"Must be \"grep\".","isRequired":true,"uniqueKey":"agent.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.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.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5.enabled.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.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.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5.permission_policy.oneOf.0.type","typeLabel":"string"}},"uniqueKey":"agent.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.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5.permission_policy.oneOf.1.type","typeLabel":"string"}},"uniqueKey":"agent.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.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5.permission_policy.oneOf.2.type","typeLabel":"string"}},"uniqueKey":"agent.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.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.5.permission_policy.oneOf.3","typeLabel":"null"}],"uniqueKey":"agent.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.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 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.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.name","typeLabel":"string"},"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"},"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.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"},"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.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.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.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.enabled.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.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.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.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"},"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.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.permission_policy.oneOf.0.type","typeLabel":"string"}},"uniqueKey":"agent.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.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.permission_policy.oneOf.1.type","typeLabel":"string"}},"uniqueKey":"agent.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.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.permission_policy.oneOf.2.type","typeLabel":"string"}},"uniqueKey":"agent.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.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.permission_policy.oneOf.3","typeLabel":"null"}],"uniqueKey":"agent.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.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.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.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.1.type","typeLabel":"string"}},"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: \"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.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.2.type","typeLabel":"string"}},"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: \"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.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 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.3.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.3.type","typeLabel":"string"}},"uniqueKey":"agent.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.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.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.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.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.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.4.type","typeLabel":"string"}},"uniqueKey":"agent.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.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.client_tool_results.oneOf.5","typeLabel":"null"}],"uniqueKey":"agent.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.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.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.1.type","typeLabel":"string"}},"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: \"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.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.2.type","typeLabel":"string"}},"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: \"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.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 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.3.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.3.type","typeLabel":"string"}},"uniqueKey":"agent.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.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.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.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.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.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.4.type","typeLabel":"string"}},"uniqueKey":"agent.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.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.server_tool_results.oneOf.5","typeLabel":"null"}],"uniqueKey":"agent.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.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.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.user_input.oneOf.1.type","typeLabel":"string"}},"uniqueKey":"agent.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.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.user_input.oneOf.2.type","typeLabel":"string"}},"uniqueKey":"agent.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.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.user_input.oneOf.3","typeLabel":"null"}],"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.0.user_input","typeLabel":"enum\u003cstring> · object · object · null"}},"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:** 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.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.6.url_sources","typeLabel":"object | null"}},"uniqueKey":"agent.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.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.name","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":"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.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":"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.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.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.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.enabled.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.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.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.permission_policy.oneOf.0.type","typeLabel":"string"}},"uniqueKey":"agent.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.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.permission_policy.oneOf.1.type","typeLabel":"string"}},"uniqueKey":"agent.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.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.permission_policy.oneOf.2.type","typeLabel":"string"}},"uniqueKey":"agent.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.tools.items.[INDEX].oneOf.0.configs.items.[INDEX].oneOf.7.permission_policy.oneOf.3","typeLabel":"null"}],"uniqueKey":"agent.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.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.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 configuration overrides.","uniqueKey":"agent.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.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.tools.items.[INDEX].oneOf.0.default_config.oneOf.0.enabled.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.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.tools.items.[INDEX].oneOf.0.default_config.oneOf.0.permission_policy.oneOf.0.type","typeLabel":"string"}},"uniqueKey":"agent.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.tools.items.[INDEX].oneOf.0.default_config.oneOf.0.permission_policy.oneOf.1.type","typeLabel":"string"}},"uniqueKey":"agent.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.tools.items.[INDEX].oneOf.0.default_config.oneOf.0.permission_policy.oneOf.2.type","typeLabel":"string"}},"uniqueKey":"agent.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.tools.items.[INDEX].oneOf.0.default_config.oneOf.0.permission_policy.oneOf.3","typeLabel":"null"}],"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.default_config.oneOf.0.permission_policy","typeLabel":"object · object · object · null"}},"uniqueKey":"agent.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.tools.items.[INDEX].oneOf.0.default_config.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.tools.items.[INDEX].oneOf.0.default_config","typeLabel":"object | null"}},"uniqueKey":"agent.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.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"},"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.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.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.tools.items.[INDEX].oneOf.1.configs.items.[INDEX].enabled.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.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.tools.items.[INDEX].oneOf.1.configs.items.[INDEX].permission_policy.oneOf.0.type","typeLabel":"string"}},"uniqueKey":"agent.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.tools.items.[INDEX].oneOf.1.configs.items.[INDEX].permission_policy.oneOf.1.type","typeLabel":"string"}},"uniqueKey":"agent.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.tools.items.[INDEX].oneOf.1.configs.items.[INDEX].permission_policy.oneOf.2.type","typeLabel":"string"}},"uniqueKey":"agent.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.tools.items.[INDEX].oneOf.1.configs.items.[INDEX].permission_policy.oneOf.3","typeLabel":"null"}],"uniqueKey":"agent.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.tools.items.[INDEX].oneOf.1.configs.items.[INDEX]","typeLabel":"object"},"description":"Per-tool configuration overrides.","uniqueKey":"agent.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.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.tools.items.[INDEX].oneOf.1.default_config.oneOf.0.enabled.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.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.tools.items.[INDEX].oneOf.1.default_config.oneOf.0.permission_policy.oneOf.0.type","typeLabel":"string"}},"uniqueKey":"agent.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.tools.items.[INDEX].oneOf.1.default_config.oneOf.0.permission_policy.oneOf.1.type","typeLabel":"string"}},"uniqueKey":"agent.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.tools.items.[INDEX].oneOf.1.default_config.oneOf.0.permission_policy.oneOf.2.type","typeLabel":"string"}},"uniqueKey":"agent.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.tools.items.[INDEX].oneOf.1.default_config.oneOf.0.permission_policy.oneOf.3","typeLabel":"null"}],"uniqueKey":"agent.tools.items.[INDEX].oneOf.1.default_config.oneOf.0.permission_policy","typeLabel":"object · object · object · null"}},"uniqueKey":"agent.tools.items.[INDEX].oneOf.1.default_config.oneOf.0","typeLabel":"object"},{"type":"null","description":"Default configuration for all tools from this server.","uniqueKey":"agent.tools.items.[INDEX].oneOf.1.default_config.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent.tools.items.[INDEX].oneOf.1.default_config","typeLabel":"object | null"}},"uniqueKey":"agent.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.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 defining the expected input parameters for the tool.","isRequired":true,"uniqueKey":"agent.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.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":"Replacement tool list. Full replacement: the provided array becomes the new value. Send an empty array to clear; omit to preserve.","uniqueKey":"agent.tools","typeLabel":"object[]"}},"description":"**Not supported on BMA:** Refused with 400 (`unsupported` for `agent.skills`, `unsupported_session_override` otherwise).\n\nThe agent snapshot, including `tools` and `mcp_servers`, is fixed when the session is created.","x-bma-unsupported":"Refused with 400 (`unsupported` for `agent.skills`, `unsupported_session_override` otherwise).","uniqueKey":"agent","typeLabel":"object"},"budget":{"oneOf":[{"type":"object","description":"**Not supported on BMA:** Refused with 400 `unsupported_session_override`.\n\nEnforced spend ceiling for the session. Set an object to replace the budget of a session that was created with one, or `null` to remove it; omit to preserve. A budget cannot be added to a session created without one (rejected with reason `budget_create_only`), and a removed budget cannot be re-added. Allowed in any non-terminated status. Lowering `max_list_cost` to at or below the session's consumed list cost is rejected with reason `budget_not_raised`, and every model the session can run must have a public list price or the request is rejected with reason `model_not_budgetable`.","required":["max_list_cost","type"],"x-bma-unsupported":"Refused with 400 `unsupported_session_override`.","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"}},"uniqueKey":"budget.oneOf.0","typeLabel":"object"},{"type":"null","description":"**Not supported on BMA:** Refused with 400 `unsupported_session_override`.\n\nEnforced spend ceiling for the session. Set an object to replace the budget of a session that was created with one, or `null` to remove it; omit to preserve. A budget cannot be added to a session created without one (rejected with reason `budget_create_only`), and a removed budget cannot be re-added. Allowed in any non-terminated status. Lowering `max_list_cost` to at or below the session's consumed list cost is rejected with reason `budget_not_raised`, and every model the session can run must have a public list price or the request is rejected with reason `model_not_budgetable`.","x-bma-unsupported":"Refused with 400 `unsupported_session_override`.","uniqueKey":"budget.oneOf.1","typeLabel":"null"}],"uniqueKey":"budget","typeLabel":"object | null"},"metadata":{"oneOf":[{"type":"object","description":"Metadata patch merged into the session's metadata: a string sets the key, null or an empty string deletes it; keys not sent are kept. Omit or send null to leave the metadata unchanged. The merged metadata holds at most 16 pairs, keys of 1 to 64 characters and values of at most 512 characters.","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"metadata.oneOf.0.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"metadata.oneOf.0.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"metadata.oneOf.0.additionalProperties","typeLabel":"string | null"},"uniqueKey":"metadata.oneOf.0","typeLabel":"object"},{"type":"null","description":"Metadata patch merged into the session's metadata: a string sets the key, null or an empty string deletes it; keys not sent are kept. Omit or send null to leave the metadata unchanged. The merged metadata holds at most 16 pairs, keys of 1 to 64 characters and values of at most 512 characters.","uniqueKey":"metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"metadata","typeLabel":"object | null"},"title":{"oneOf":[{"type":"string","description":"New title. An empty string or null clears the title; omitted leaves it unchanged.","uniqueKey":"title.oneOf.0","typeLabel":"string"},{"type":"null","description":"New title. An empty string or null clears the title; omitted leaves it unchanged.","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":"**Not supported on BMA:** Refused with 400 `unsupported_session_override`.\n\nVault IDs (`vlt_*`) to attach to the session. Not yet supported; requests setting this field are rejected. Reserved for future use.","x-bma-unsupported":"Refused with 400 `unsupported_session_override`.","uniqueKey":"vault_ids","typeLabel":"string[]"}},"uniqueKey":"","typeLabel":"object"},"example":{"title":"Q3 revenue report (final)","metadata":{"ticket":"OPS-1430","reviewer":null}},"examples":{"Example":{"title":"Example","value":{"title":"Q3 revenue report (final)","metadata":{"ticket":"OPS-1430","reviewer":null}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"0591ef6e-9c10-4efa-9989-acf234af1e24":{"description":"The session after the update.","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"},"3a88452c-a014-4b1d-abc5-0cecf6436498":{"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"},"988a38d1-6501-4cb2-8651-1ca683ebbeae":{"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":"Update Session - BMA Developer Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/api-reference/endpoints/sessions/update-session","matchLevel":0},"zh":{"href":"/zh/api-reference/endpoints/sessions/update-session","matchLevel":1},"zh-Hant":{"href":"/zh-hant/api-reference/endpoints/sessions/update-session","matchLevel":1},"ja":{"href":"/ja/api-reference/endpoints/sessions/update-session","matchLevel":1},"ko":{"href":"/ko/api-reference/endpoints/sessions/update-session","matchLevel":1}}},"originalFileLocation":"api-reference/endpoints/sessions/update-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=\"Changes a session\u0026#x27;s title and metadata (and the BMA extensions bma_executor_config and bma_model_override) and returns the session with its updated ETag header. title replaces the title (an empty string clears it, null leaves it unchanged); metadata is merged key by key, and a key set to null or to an empty string is deleted. A change of title or metadata is recorded as a session.updated event in the session\u0026#x27;s event list and stream; an update that changes nothing records none. Any other member (agent, budget, vault_ids) is refused: the agent snapshot is fixed when the session is created. Updates are accepted while a turn runs; an archived session answers 409 conflict_error without an error.code. Send an If-Match header with the ETag from a prior create, retrieve or update to make the update conditional (RFC 9110): a stale ETag is refused with 412 conflict_error (precondition_failed) across both session fields and bma_model_override. 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 4 MiB (4,194,304 bytes). - 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 | harness_unavailable | A new bma_executor_config cannot run on the session\u0026#x27;s brain. | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | invalid_field | title is not a string, metadata is not an object of strings, bma_executor_config is invalid, or If-Match is malformed. | 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 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 | 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 the new 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 | A new bma_executor_config fits none of the session\u0026#x27;s placement candidates. | 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 | unsupported | The body sets agent.skills; skills are fixed when the session is created. | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | unsupported_session_option | bma_model_override is sent and the deployment does not serve model overrides. | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | unsupported_session_override | The body sets a member other than title, metadata, bma_executor_config and bma_model_override (for example agent, budget or vault_ids). | 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 session\u0026#x27;s brain runs 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 | environment_not_found | The session\u0026#x27;s environment no longer exists, checked when bma_executor_config changes. | Check the ID and the organization or workspace it belongs to; do not retry the same request. | | 404 | not_found_error | machine_not_found | A machine of the session\u0026#x27;s placement no longer exists or may not be used. | Check the ID and the organization or workspace it belongs to; do not retry the same request. | | 404 | not_found_error | model_override_not_found | bma_model_override patches an override (an object without model) and the session has none. | Check the ID and the organization or workspace it belongs to; do not retry the same request. | | 412 | conflict_error | precondition_failed | The If-Match header does not match the session\u0026#x27;s current ETag. | Re-read the resource to obtain its current ETag and state, reconcile, then retry. | | 413 | request_too_large | request_too_large | The body is larger than 4 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=\"Update Session - BMA Developer Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Changes a session\u0026#x27;s title and metadata (and the BMA extensions bma_executor_config and bma_model_override) and returns the session with its updated ETag header. title replaces the title (an empty string clears it, null leaves it unchanged); metadata is merged key by key, and a key set to null or to an empty string is deleted. A change of title or metadata is recorded as a session.updated event in the session\u0026#x27;s event list and stream; an update that changes nothing records none. Any other member (agent, budget, vault_ids) is refused: the agent snapshot is fixed when the session is created. Updates are accepted while a turn runs; an archived session answers 409 conflict_error without an error.code. Send an If-Match header with the ETag from a prior create, retrieve or update to make the update conditional (RFC 9110): a stale ETag is refused with 412 conflict_error (precondition_failed) across both session fields and bma_model_override. 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 4 MiB (4,194,304 bytes). - 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 | harness_unavailable | A new bma_executor_config cannot run on the session\u0026#x27;s brain. | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | invalid_field | title is not a string, metadata is not an object of strings, bma_executor_config is invalid, or If-Match is malformed. | 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 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 | 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 the new 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 | A new bma_executor_config fits none of the session\u0026#x27;s placement candidates. | 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 | unsupported | The body sets agent.skills; skills are fixed when the session is created. | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | unsupported_session_option | bma_model_override is sent and the deployment does not serve model overrides. | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | unsupported_session_override | The body sets a member other than title, metadata, bma_executor_config and bma_model_override (for example agent, budget or vault_ids). | 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 session\u0026#x27;s brain runs 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 | environment_not_found | The session\u0026#x27;s environment no longer exists, checked when bma_executor_config changes. | Check the ID and the organization or workspace it belongs to; do not retry the same request. | | 404 | not_found_error | machine_not_found | A machine of the session\u0026#x27;s placement no longer exists or may not be used. | Check the ID and the organization or workspace it belongs to; do not retry the same request. | | 404 | not_found_error | model_override_not_found | bma_model_override patches an override (an object without model) and the session has none. | Check the ID and the organization or workspace it belongs to; do not retry the same request. | | 412 | conflict_error | precondition_failed | The If-Match header does not match the session\u0026#x27;s current ETag. | Re-read the resource to obtain its current ETag and state, reconcile, then retry. | | 413 | request_too_large | request_too_large | The body is larger than 4 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/update-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=\"Update Session - BMA Developer Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Changes a session\u0026#x27;s title and metadata (and the BMA extensions bma_executor_config and bma_model_override) and returns the session with its updated ETag header. title replaces the title (an empty string clears it, null leaves it unchanged); metadata is merged key by key, and a key set to null or to an empty string is deleted. A change of title or metadata is recorded as a session.updated event in the session\u0026#x27;s event list and stream; an update that changes nothing records none. Any other member (agent, budget, vault_ids) is refused: the agent snapshot is fixed when the session is created. Updates are accepted while a turn runs; an archived session answers 409 conflict_error without an error.code. Send an If-Match header with the ETag from a prior create, retrieve or update to make the update conditional (RFC 9110): a stale ETag is refused with 412 conflict_error (precondition_failed) across both session fields and bma_model_override. 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 4 MiB (4,194,304 bytes). - 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 | harness_unavailable | A new bma_executor_config cannot run on the session\u0026#x27;s brain. | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | invalid_field | title is not a string, metadata is not an object of strings, bma_executor_config is invalid, or If-Match is malformed. | 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 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 | 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 the new 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 | A new bma_executor_config fits none of the session\u0026#x27;s placement candidates. | 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 | unsupported | The body sets agent.skills; skills are fixed when the session is created. | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | unsupported_session_option | bma_model_override is sent and the deployment does not serve model overrides. | Correct the request as the message describes and send it again; the same request will keep failing. | | 400 | invalid_request_error | unsupported_session_override | The body sets a member other than title, metadata, bma_executor_config and bma_model_override (for example agent, budget or vault_ids). | 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 session\u0026#x27;s brain runs 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 | environment_not_found | The session\u0026#x27;s environment no longer exists, checked when bma_executor_config changes. | Check the ID and the organization or workspace it belongs to; do not retry the same request. | | 404 | not_found_error | machine_not_found | A machine of the session\u0026#x27;s placement no longer exists or may not be used. | Check the ID and the organization or workspace it belongs to; do not retry the same request. | | 404 | not_found_error | model_override_not_found | bma_model_override patches an override (an object without model) and the session has none. | Check the ID and the organization or workspace it belongs to; do not retry the same request. | | 412 | conflict_error | precondition_failed | The If-Match header does not match the session\u0026#x27;s current ETag. | Re-read the resource to obtain its current ETag and state, reconcile, then retry. | | 413 | request_too_large | request_too_large | The body is larger than 4 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/update-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/update-session.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://local./api-reference/endpoints/sessions/update-session\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://local./zh/api-reference/endpoints/sessions/update-session\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh-Hant\" href=\"https://local./zh-hant/api-reference/endpoints/sessions/update-session\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja\" href=\"https://local./ja/api-reference/endpoints/sessions/update-session\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ko\" href=\"https://local./ko/api-reference/endpoints/sessions/update-session\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://local./api-reference/endpoints/sessions/update-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/update-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","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","description":"Deletes a session: its event log and turns are dropped, an open turn is cancelled, and a tombstone stays so that every later read, update or event of the session answers 404. Archived sessions can be deleted. Uploaded files and memory stores the session mounted are not deleted. Deleting an already deleted session returns the same confirmation again. Not reversible.\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- No limits specific to this endpoint.\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` | `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. |\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. |","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/update-session"}]},{"language":"zh-Hant","pages":[{"title":"zh-Hant","href":"/zh-hant/api-reference/endpoints/sessions/update-session"}]},{"language":"ja","pages":[{"title":"ja","href":"/ja/api-reference/endpoints/sessions/update-session"}]},{"language":"ko","pages":[{"title":"ko","href":"/ko/api-reference/endpoints/sessions/update-session"}]}]},"basePath":"","title":"Update 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"]}