1275 1275
1276 - `"agent.session"`1276 - `"agent.session"`
1277 1277
12781278 - `required_actions: array of ComputerUseApprovalRequest { request, request_id, turn_id, type } or FunctionCall { arguments, call_id, name, 2 more } or EnvironmentConnection { environment_id, type }` - `required_actions: array of McpApprovalRequest { request, request_id, turn_id, type } or ComputerUseApprovalRequest { request, request_id, turn_id, type } or FunctionCall { arguments, call_id, name, 2 more } or EnvironmentConnection { environment_id, type }`
1279 1279
1280 Actions that must be completed before the session can continue.1280 Actions that must be completed before the session can continue.
1281 1281
1282 `minItems: 0`, `maxItems: 2000`1282 `minItems: 0`, `maxItems: 2000`
1283 1283
1284 - `McpApprovalRequest object { request, request_id, turn_id, type }`
1285
1286 Respond to an MCP tool-call approval request.
1287
1288 - `request: object { arguments, message, name, 2 more }`
1289
1290 Information for presenting an MCP approval.
1291
1292 - `arguments: unknown`
1293
1294 The tool arguments as JSON, or null when CCA does not provide them.
1295
1296 - `message: string`
1297
1298 `minLength: 0`
1299
1300 - `name: string or null`
1301
1302 The tool name, or null when CCA does not provide it.
1303
1304 `minLength: 0`
1305
1306 - `server_label: string`
1307
1308 `minLength: 0`
1309
1310 - `type: "mcp_tool_call" (default: "mcp_tool_call")`
1311
1312 The type of the object. Always `mcp_tool_call`.
1313
1314 - `"mcp_tool_call"`
1315
1316 - `request_id: string`
1317
1318 The opaque approval ID to echo when responding.
1319
1320 `minLength: 0`
1321
1322 - `turn_id: string`
1323
1324 The turn that requested approval.
1325
1326 `minLength: 0`
1327
1328 - `type: "mcp_approval_request" (default: "mcp_approval_request")`
1329
1330 The type of the object. Always `mcp_approval_request`.
1331
1332 - `"mcp_approval_request"`
1333
1284 - `ComputerUseApprovalRequest object { request, request_id, turn_id, type }`1334 - `ComputerUseApprovalRequest object { request, request_id, turn_id, type }`
1285 1335
1286 Respond to a computer-use request.1336 Respond to a computer-use request.
1570 "status": "idle",1620 "status": "idle",
1571 "required_actions": [1621 "required_actions": [
1572 {1622 {
15731623 "type": "computer_use_approval_request", "type": "mcp_approval_request",
1574 "turn_id": "turn_id",1624 "turn_id": "turn_id",
1575 "request_id": "request_id",1625 "request_id": "request_id",
1576 "request": {1626 "request": {
15771627 "type": "browser_authentication", "type": "mcp_tool_call",
15781628 "reason": "reason", "server_label": "server_label",
15791629 "credential_origin": "credential_origin", "name": "name",
15801630 "fields": [ "arguments": {},
15811631 { "message": "message"
1582 "id": "id",
1583 "label": "label",
1584 "type": "type",
1585 "required": true
1586 }
1587 ],
1588 "options": [
1589 {
1590 "id": "id",
1591 "label": "label",
1592 "field_ids": [
1593 "string"
1594 ]
1595 }
1596 ]
1597 }1632 }
1598 }1633 }
1599 ],1634 ],
5172 5207
5173 - `"agent.session"`5208 - `"agent.session"`
5174 5209
51755210 - `required_actions: array of ComputerUseApprovalRequest { request, request_id, turn_id, type } or FunctionCall { arguments, call_id, name, 2 more } or EnvironmentConnection { environment_id, type }` - `required_actions: array of McpApprovalRequest { request, request_id, turn_id, type } or ComputerUseApprovalRequest { request, request_id, turn_id, type } or FunctionCall { arguments, call_id, name, 2 more } or EnvironmentConnection { environment_id, type }`
5176 5211
5177 Actions that must be completed before the session can continue.5212 Actions that must be completed before the session can continue.
5178 5213
5179 `minItems: 0`, `maxItems: 2000`5214 `minItems: 0`, `maxItems: 2000`
5180 5215
5216 - `McpApprovalRequest object { request, request_id, turn_id, type }`
5217
5218 Respond to an MCP tool-call approval request.
5219
5220 - `request: object { arguments, message, name, 2 more }`
5221
5222 Information for presenting an MCP approval.
5223
5224 - `arguments: unknown`
5225
5226 The tool arguments as JSON, or null when CCA does not provide them.
5227
5228 - `message: string`
5229
5230 `minLength: 0`
5231
5232 - `name: string or null`
5233
5234 The tool name, or null when CCA does not provide it.
5235
5236 `minLength: 0`
5237
5238 - `server_label: string`
5239
5240 `minLength: 0`
5241
5242 - `type: "mcp_tool_call" (default: "mcp_tool_call")`
5243
5244 The type of the object. Always `mcp_tool_call`.
5245
5246 - `"mcp_tool_call"`
5247
5248 - `request_id: string`
5249
5250 The opaque approval ID to echo when responding.
5251
5252 `minLength: 0`
5253
5254 - `turn_id: string`
5255
5256 The turn that requested approval.
5257
5258 `minLength: 0`
5259
5260 - `type: "mcp_approval_request" (default: "mcp_approval_request")`
5261
5262 The type of the object. Always `mcp_approval_request`.
5263
5264 - `"mcp_approval_request"`
5265
5181 - `ComputerUseApprovalRequest object { request, request_id, turn_id, type }`5266 - `ComputerUseApprovalRequest object { request, request_id, turn_id, type }`
5182 5267
5183 Respond to a computer-use request.5268 Respond to a computer-use request.
5467 "status": "idle",5552 "status": "idle",
5468 "required_actions": [5553 "required_actions": [
5469 {5554 {
54705555 "type": "computer_use_approval_request", "type": "mcp_approval_request",
5471 "turn_id": "turn_id",5556 "turn_id": "turn_id",
5472 "request_id": "request_id",5557 "request_id": "request_id",
5473 "request": {5558 "request": {
54745559 "type": "browser_authentication", "type": "mcp_tool_call",
54755560 "reason": "reason", "server_label": "server_label",
54765561 "credential_origin": "credential_origin", "name": "name",
54775562 "fields": [ "arguments": {},
54785563 { "message": "message"
5479 "id": "id",
5480 "label": "label",
5481 "type": "type",
5482 "required": true
5483 }
5484 ],
5485 "options": [
5486 {
5487 "id": "id",
5488 "label": "label",
5489 "field_ids": [
5490 "string"
5491 ]
5492 }
5493 ]
5494 }5564 }
5495 }5565 }
5496 ],5566 ],
6294 6364
6295 - `"agent.session"`6365 - `"agent.session"`
6296 6366
62976367 - `required_actions: array of ComputerUseApprovalRequest { request, request_id, turn_id, type } or FunctionCall { arguments, call_id, name, 2 more } or EnvironmentConnection { environment_id, type }` - `required_actions: array of McpApprovalRequest { request, request_id, turn_id, type } or ComputerUseApprovalRequest { request, request_id, turn_id, type } or FunctionCall { arguments, call_id, name, 2 more } or EnvironmentConnection { environment_id, type }`
6298 6368
6299 Actions that must be completed before the session can continue.6369 Actions that must be completed before the session can continue.
6300 6370
6301 `minItems: 0`, `maxItems: 2000`6371 `minItems: 0`, `maxItems: 2000`
6302 6372
6373 - `McpApprovalRequest object { request, request_id, turn_id, type }`
6374
6375 Respond to an MCP tool-call approval request.
6376
6377 - `request: object { arguments, message, name, 2 more }`
6378
6379 Information for presenting an MCP approval.
6380
6381 - `arguments: unknown`
6382
6383 The tool arguments as JSON, or null when CCA does not provide them.
6384
6385 - `message: string`
6386
6387 `minLength: 0`
6388
6389 - `name: string or null`
6390
6391 The tool name, or null when CCA does not provide it.
6392
6393 `minLength: 0`
6394
6395 - `server_label: string`
6396
6397 `minLength: 0`
6398
6399 - `type: "mcp_tool_call" (default: "mcp_tool_call")`
6400
6401 The type of the object. Always `mcp_tool_call`.
6402
6403 - `"mcp_tool_call"`
6404
6405 - `request_id: string`
6406
6407 The opaque approval ID to echo when responding.
6408
6409 `minLength: 0`
6410
6411 - `turn_id: string`
6412
6413 The turn that requested approval.
6414
6415 `minLength: 0`
6416
6417 - `type: "mcp_approval_request" (default: "mcp_approval_request")`
6418
6419 The type of the object. Always `mcp_approval_request`.
6420
6421 - `"mcp_approval_request"`
6422
6303 - `ComputerUseApprovalRequest object { request, request_id, turn_id, type }`6423 - `ComputerUseApprovalRequest object { request, request_id, turn_id, type }`
6304 6424
6305 Respond to a computer-use request.6425 Respond to a computer-use request.
6589 "status": "idle",6709 "status": "idle",
6590 "required_actions": [6710 "required_actions": [
6591 {6711 {
65926712 "type": "computer_use_approval_request", "type": "mcp_approval_request",
6593 "turn_id": "turn_id",6713 "turn_id": "turn_id",
6594 "request_id": "request_id",6714 "request_id": "request_id",
6595 "request": {6715 "request": {
65966716 "type": "browser_authentication", "type": "mcp_tool_call",
65976717 "reason": "reason", "server_label": "server_label",
65986718 "credential_origin": "credential_origin", "name": "name",
65996719 "fields": [ "arguments": {},
66006720 { "message": "message"
6601 "id": "id",
6602 "label": "label",
6603 "type": "type",
6604 "required": true
6605 }
6606 ],
6607 "options": [
6608 {
6609 "id": "id",
6610 "label": "label",
6611 "field_ids": [
6612 "string"
6613 ]
6614 }
6615 ]
6616 }6721 }
6617 }6722 }
6618 ],6723 ],
7416 7521
7417 - `"agent.session"`7522 - `"agent.session"`
7418 7523
74197524 - `required_actions: array of ComputerUseApprovalRequest { request, request_id, turn_id, type } or FunctionCall { arguments, call_id, name, 2 more } or EnvironmentConnection { environment_id, type }` - `required_actions: array of McpApprovalRequest { request, request_id, turn_id, type } or ComputerUseApprovalRequest { request, request_id, turn_id, type } or FunctionCall { arguments, call_id, name, 2 more } or EnvironmentConnection { environment_id, type }`
7420 7525
7421 Actions that must be completed before the session can continue.7526 Actions that must be completed before the session can continue.
7422 7527
7423 `minItems: 0`, `maxItems: 2000`7528 `minItems: 0`, `maxItems: 2000`
7424 7529
7530 - `McpApprovalRequest object { request, request_id, turn_id, type }`
7531
7532 Respond to an MCP tool-call approval request.
7533
7534 - `request: object { arguments, message, name, 2 more }`
7535
7536 Information for presenting an MCP approval.
7537
7538 - `arguments: unknown`
7539
7540 The tool arguments as JSON, or null when CCA does not provide them.
7541
7542 - `message: string`
7543
7544 `minLength: 0`
7545
7546 - `name: string or null`
7547
7548 The tool name, or null when CCA does not provide it.
7549
7550 `minLength: 0`
7551
7552 - `server_label: string`
7553
7554 `minLength: 0`
7555
7556 - `type: "mcp_tool_call" (default: "mcp_tool_call")`
7557
7558 The type of the object. Always `mcp_tool_call`.
7559
7560 - `"mcp_tool_call"`
7561
7562 - `request_id: string`
7563
7564 The opaque approval ID to echo when responding.
7565
7566 `minLength: 0`
7567
7568 - `turn_id: string`
7569
7570 The turn that requested approval.
7571
7572 `minLength: 0`
7573
7574 - `type: "mcp_approval_request" (default: "mcp_approval_request")`
7575
7576 The type of the object. Always `mcp_approval_request`.
7577
7578 - `"mcp_approval_request"`
7579
7425 - `ComputerUseApprovalRequest object { request, request_id, turn_id, type }`7580 - `ComputerUseApprovalRequest object { request, request_id, turn_id, type }`
7426 7581
7427 Respond to a computer-use request.7582 Respond to a computer-use request.
7711 "status": "idle",7866 "status": "idle",
7712 "required_actions": [7867 "required_actions": [
7713 {7868 {
77147869 "type": "computer_use_approval_request", "type": "mcp_approval_request",
7715 "turn_id": "turn_id",7870 "turn_id": "turn_id",
7716 "request_id": "request_id",7871 "request_id": "request_id",
7717 "request": {7872 "request": {
77187873 "type": "browser_authentication", "type": "mcp_tool_call",
77197874 "reason": "reason", "server_label": "server_label",
77207875 "credential_origin": "credential_origin", "name": "name",
77217876 "fields": [ "arguments": {},
77227877 { "message": "message"
7723 "id": "id",
7724 "label": "label",
7725 "type": "type",
7726 "required": true
7727 }
7728 ],
7729 "options": [
7730 {
7731 "id": "id",
7732 "label": "label",
7733 "field_ids": [
7734 "string"
7735 ]
7736 }
7737 ]
7738 }7878 }
7739 }7879 }
7740 ],7880 ],
8538 8678
8539 - `"agent.session"`8679 - `"agent.session"`
8540 8680
85418681 - `required_actions: array of ComputerUseApprovalRequest { request, request_id, turn_id, type } or FunctionCall { arguments, call_id, name, 2 more } or EnvironmentConnection { environment_id, type }` - `required_actions: array of McpApprovalRequest { request, request_id, turn_id, type } or ComputerUseApprovalRequest { request, request_id, turn_id, type } or FunctionCall { arguments, call_id, name, 2 more } or EnvironmentConnection { environment_id, type }`
8542 8682
8543 Actions that must be completed before the session can continue.8683 Actions that must be completed before the session can continue.
8544 8684
8545 `minItems: 0`, `maxItems: 2000`8685 `minItems: 0`, `maxItems: 2000`
8546 8686
8687 - `McpApprovalRequest object { request, request_id, turn_id, type }`
8688
8689 Respond to an MCP tool-call approval request.
8690
8691 - `request: object { arguments, message, name, 2 more }`
8692
8693 Information for presenting an MCP approval.
8694
8695 - `arguments: unknown`
8696
8697 The tool arguments as JSON, or null when CCA does not provide them.
8698
8699 - `message: string`
8700
8701 `minLength: 0`
8702
8703 - `name: string or null`
8704
8705 The tool name, or null when CCA does not provide it.
8706
8707 `minLength: 0`
8708
8709 - `server_label: string`
8710
8711 `minLength: 0`
8712
8713 - `type: "mcp_tool_call" (default: "mcp_tool_call")`
8714
8715 The type of the object. Always `mcp_tool_call`.
8716
8717 - `"mcp_tool_call"`
8718
8719 - `request_id: string`
8720
8721 The opaque approval ID to echo when responding.
8722
8723 `minLength: 0`
8724
8725 - `turn_id: string`
8726
8727 The turn that requested approval.
8728
8729 `minLength: 0`
8730
8731 - `type: "mcp_approval_request" (default: "mcp_approval_request")`
8732
8733 The type of the object. Always `mcp_approval_request`.
8734
8735 - `"mcp_approval_request"`
8736
8547 - `ComputerUseApprovalRequest object { request, request_id, turn_id, type }`8737 - `ComputerUseApprovalRequest object { request, request_id, turn_id, type }`
8548 8738
8549 Respond to a computer-use request.8739 Respond to a computer-use request.
8833 "status": "idle",9023 "status": "idle",
8834 "required_actions": [9024 "required_actions": [
8835 {9025 {
88369026 "type": "computer_use_approval_request", "type": "mcp_approval_request",
8837 "turn_id": "turn_id",9027 "turn_id": "turn_id",
8838 "request_id": "request_id",9028 "request_id": "request_id",
8839 "request": {9029 "request": {
88409030 "type": "browser_authentication", "type": "mcp_tool_call",
88419031 "reason": "reason", "server_label": "server_label",
88429032 "credential_origin": "credential_origin", "name": "name",
88439033 "fields": [ "arguments": {},
88449034 { "message": "message"
8845 "id": "id",
8846 "label": "label",
8847 "type": "type",
8848 "required": true
8849 }
8850 ],
8851 "options": [
8852 {
8853 "id": "id",
8854 "label": "label",
8855 "field_ids": [
8856 "string"
8857 ]
8858 }
8859 ]
8860 }9035 }
8861 }9036 }
8862 ],9037 ],