| 1 | { |
| 2 | "$schema": "http://json-schema.org/draft-07/schema#", |
| 3 | "definitions": { |
| 4 | "AbsolutePathBuf": { |
| 5 | "type": "string" |
| 6 | }, |
| 7 | "AgentMessageInputContent": { |
| 8 | "oneOf": [ |
| 9 | { |
| 10 | "properties": { |
| 11 | "text": { |
| 12 | "type": "string" |
| 13 | }, |
| 14 | "type": { |
| 15 | "enum": [ |
| 16 | "input_text" |
| 17 | ], |
| 18 | "type": "string" |
| 19 | } |
| 20 | }, |
| 21 | "required": [ |
| 22 | "text", |
| 23 | "type" |
| 24 | ], |
| 25 | "type": "object" |
| 26 | }, |
| 27 | { |
| 28 | "properties": { |
| 29 | "encrypted_content": { |
| 30 | "type": "string" |
| 31 | }, |
| 32 | "type": { |
| 33 | "enum": [ |
| 34 | "encrypted_content" |
| 35 | ], |
| 36 | "type": "string" |
| 37 | } |
| 38 | }, |
| 39 | "required": [ |
| 40 | "encrypted_content", |
| 41 | "type" |
| 42 | ], |
| 43 | "type": "object" |
| 44 | } |
| 45 | ] |
| 46 | }, |
| 47 | "ApprovalsReviewer": { |
| 48 | "enum": [ |
| 49 | "user", |
| 50 | "auto_review", |
| 51 | "guardian_subagent" |
| 52 | ], |
| 53 | "type": "string" |
| 54 | }, |
| 55 | "AskForApproval": { |
| 56 | "oneOf": [ |
| 57 | { |
| 58 | "enum": [ |
| 59 | "untrusted", |
| 60 | "on-request", |
| 61 | "never" |
| 62 | ], |
| 63 | "type": "string" |
| 64 | }, |
| 65 | { |
| 66 | "additionalProperties": false, |
| 67 | "properties": { |
| 68 | "granular": { |
| 69 | "properties": { |
| 70 | "mcp_elicitations": { |
| 71 | "type": "boolean" |
| 72 | }, |
| 73 | "request_permissions": { |
| 74 | "default": false, |
| 75 | "type": "boolean" |
| 76 | }, |
| 77 | "rules": { |
| 78 | "type": "boolean" |
| 79 | }, |
| 80 | "sandbox_approval": { |
| 81 | "type": "boolean" |
| 82 | }, |
| 83 | "skill_approval": { |
| 84 | "default": false, |
| 85 | "type": "boolean" |
| 86 | } |
| 87 | }, |
| 88 | "required": [ |
| 89 | "mcp_elicitations", |
| 90 | "rules", |
| 91 | "sandbox_approval" |
| 92 | ], |
| 93 | "type": "object" |
| 94 | } |
| 95 | }, |
| 96 | "required": [ |
| 97 | "granular" |
| 98 | ], |
| 99 | "type": "object" |
| 100 | } |
| 101 | ] |
| 102 | }, |
| 103 | "ConfigurationReasoning": { |
| 104 | "properties": { |
| 105 | "effort": { |
| 106 | "$ref": "#/definitions/ReasoningEffort" |
| 107 | } |
| 108 | }, |
| 109 | "required": [ |
| 110 | "effort" |
| 111 | ], |
| 112 | "type": "object" |
| 113 | }, |
| 114 | "ContentItem": { |
| 115 | "oneOf": [ |
| 116 | { |
| 117 | "properties": { |
| 118 | "text": { |
| 119 | "type": "string" |
| 120 | }, |
| 121 | "type": { |
| 122 | "enum": [ |
| 123 | "input_text" |
| 124 | ], |
| 125 | "type": "string" |
| 126 | } |
| 127 | }, |
| 128 | "required": [ |
| 129 | "text", |
| 130 | "type" |
| 131 | ], |
| 132 | "type": "object" |
| 133 | }, |
| 134 | { |
| 135 | "anyOf": [ |
| 136 | { |
| 137 | "properties": { |
| 138 | "image_url": { |
| 139 | "type": "string" |
| 140 | } |
| 141 | }, |
| 142 | "required": [ |
| 143 | "image_url" |
| 144 | ], |
| 145 | "type": "object" |
| 146 | }, |
| 147 | { |
| 148 | "properties": { |
| 149 | "file_id": { |
| 150 | "type": "string" |
| 151 | } |
| 152 | }, |
| 153 | "required": [ |
| 154 | "file_id" |
| 155 | ], |
| 156 | "type": "object" |
| 157 | } |
| 158 | ], |
| 159 | "properties": { |
| 160 | "detail": { |
| 161 | "anyOf": [ |
| 162 | { |
| 163 | "$ref": "#/definitions/ImageDetail" |
| 164 | }, |
| 165 | { |
| 166 | "type": "null" |
| 167 | } |
| 168 | ] |
| 169 | }, |
| 170 | "type": { |
| 171 | "enum": [ |
| 172 | "input_image" |
| 173 | ], |
| 174 | "type": "string" |
| 175 | } |
| 176 | }, |
| 177 | "required": [ |
| 178 | "type" |
| 179 | ], |
| 180 | "type": "object" |
| 181 | }, |
| 182 | { |
| 183 | "properties": { |
| 184 | "audio_url": { |
| 185 | "type": "string" |
| 186 | }, |
| 187 | "type": { |
| 188 | "enum": [ |
| 189 | "input_audio" |
| 190 | ], |
| 191 | "type": "string" |
| 192 | } |
| 193 | }, |
| 194 | "required": [ |
| 195 | "audio_url", |
| 196 | "type" |
| 197 | ], |
| 198 | "type": "object" |
| 199 | }, |
| 200 | { |
| 201 | "properties": { |
| 202 | "annotations": { |
| 203 | "items": true, |
| 204 | "type": [ |
| 205 | "array", |
| 206 | "null" |
| 207 | ] |
| 208 | }, |
| 209 | "logprobs": { |
| 210 | "items": true, |
| 211 | "type": [ |
| 212 | "array", |
| 213 | "null" |
| 214 | ] |
| 215 | }, |
| 216 | "text": { |
| 217 | "type": "string" |
| 218 | }, |
| 219 | "type": { |
| 220 | "enum": [ |
| 221 | "output_text" |
| 222 | ], |
| 223 | "type": "string" |
| 224 | } |
| 225 | }, |
| 226 | "required": [ |
| 227 | "text", |
| 228 | "type" |
| 229 | ], |
| 230 | "type": "object" |
| 231 | } |
| 232 | ] |
| 233 | }, |
| 234 | "FunctionCallOutputBody": { |
| 235 | "anyOf": [ |
| 236 | { |
| 237 | "type": "string" |
| 238 | }, |
| 239 | { |
| 240 | "items": { |
| 241 | "$ref": "#/definitions/FunctionCallOutputContentItem" |
| 242 | }, |
| 243 | "type": "array" |
| 244 | } |
| 245 | ] |
| 246 | }, |
| 247 | "FunctionCallOutputContentItem": { |
| 248 | "oneOf": [ |
| 249 | { |
| 250 | "properties": { |
| 251 | "text": { |
| 252 | "type": "string" |
| 253 | }, |
| 254 | "type": { |
| 255 | "enum": [ |
| 256 | "input_text" |
| 257 | ], |
| 258 | "type": "string" |
| 259 | } |
| 260 | }, |
| 261 | "required": [ |
| 262 | "text", |
| 263 | "type" |
| 264 | ], |
| 265 | "type": "object" |
| 266 | }, |
| 267 | { |
| 268 | "anyOf": [ |
| 269 | { |
| 270 | "properties": { |
| 271 | "image_url": { |
| 272 | "type": "string" |
| 273 | } |
| 274 | }, |
| 275 | "required": [ |
| 276 | "image_url" |
| 277 | ], |
| 278 | "type": "object" |
| 279 | }, |
| 280 | { |
| 281 | "properties": { |
| 282 | "file_id": { |
| 283 | "type": "string" |
| 284 | } |
| 285 | }, |
| 286 | "required": [ |
| 287 | "file_id" |
| 288 | ], |
| 289 | "type": "object" |
| 290 | } |
| 291 | ], |
| 292 | "properties": { |
| 293 | "detail": { |
| 294 | "anyOf": [ |
| 295 | { |
| 296 | "$ref": "#/definitions/ImageDetail" |
| 297 | }, |
| 298 | { |
| 299 | "type": "null" |
| 300 | } |
| 301 | ] |
| 302 | }, |
| 303 | "type": { |
| 304 | "enum": [ |
| 305 | "input_image" |
| 306 | ], |
| 307 | "type": "string" |
| 308 | } |
| 309 | }, |
| 310 | "required": [ |
| 311 | "type" |
| 312 | ], |
| 313 | "type": "object" |
| 314 | }, |
| 315 | { |
| 316 | "properties": { |
| 317 | "audio_url": { |
| 318 | "type": "string" |
| 319 | }, |
| 320 | "type": { |
| 321 | "enum": [ |
| 322 | "input_audio" |
| 323 | ], |
| 324 | "type": "string" |
| 325 | } |
| 326 | }, |
| 327 | "required": [ |
| 328 | "audio_url", |
| 329 | "type" |
| 330 | ], |
| 331 | "type": "object" |
| 332 | }, |
| 333 | { |
| 334 | "properties": { |
| 335 | "encrypted_content": { |
| 336 | "type": "string" |
| 337 | }, |
| 338 | "type": { |
| 339 | "enum": [ |
| 340 | "encrypted_content" |
| 341 | ], |
| 342 | "type": "string" |
| 343 | } |
| 344 | }, |
| 345 | "required": [ |
| 346 | "encrypted_content", |
| 347 | "type" |
| 348 | ], |
| 349 | "type": "object" |
| 350 | } |
| 351 | ] |
| 352 | }, |
| 353 | "ImageDetail": { |
| 354 | "enum": [ |
| 355 | "auto", |
| 356 | "low", |
| 357 | "high", |
| 358 | "original" |
| 359 | ], |
| 360 | "type": "string" |
| 361 | }, |
| 362 | "InternalChatMessageMetadataPassthrough": { |
| 363 | "properties": { |
| 364 | "turn_id": { |
| 365 | "type": [ |
| 366 | "string", |
| 367 | "null" |
| 368 | ] |
| 369 | } |
| 370 | }, |
| 371 | "type": "object" |
| 372 | }, |
| 373 | "LocalShellAction": { |
| 374 | "oneOf": [ |
| 375 | { |
| 376 | "properties": { |
| 377 | "command": { |
| 378 | "items": { |
| 379 | "type": "string" |
| 380 | }, |
| 381 | "type": "array" |
| 382 | }, |
| 383 | "env": { |
| 384 | "additionalProperties": { |
| 385 | "type": "string" |
| 386 | }, |
| 387 | "type": [ |
| 388 | "object", |
| 389 | "null" |
| 390 | ] |
| 391 | }, |
| 392 | "timeout_ms": { |
| 393 | "format": "uint64", |
| 394 | "minimum": 0.0, |
| 395 | "type": [ |
| 396 | "integer", |
| 397 | "null" |
| 398 | ] |
| 399 | }, |
| 400 | "type": { |
| 401 | "enum": [ |
| 402 | "exec" |
| 403 | ], |
| 404 | "type": "string" |
| 405 | }, |
| 406 | "user": { |
| 407 | "type": [ |
| 408 | "string", |
| 409 | "null" |
| 410 | ] |
| 411 | }, |
| 412 | "working_directory": { |
| 413 | "type": [ |
| 414 | "string", |
| 415 | "null" |
| 416 | ] |
| 417 | } |
| 418 | }, |
| 419 | "required": [ |
| 420 | "command", |
| 421 | "type" |
| 422 | ], |
| 423 | "type": "object" |
| 424 | } |
| 425 | ] |
| 426 | }, |
| 427 | "LocalShellStatus": { |
| 428 | "enum": [ |
| 429 | "completed", |
| 430 | "in_progress", |
| 431 | "incomplete" |
| 432 | ], |
| 433 | "type": "string" |
| 434 | }, |
| 435 | "MessagePhase": { |
| 436 | "oneOf": [ |
| 437 | { |
| 438 | "enum": [ |
| 439 | "commentary" |
| 440 | ], |
| 441 | "type": "string" |
| 442 | }, |
| 443 | { |
| 444 | "enum": [ |
| 445 | "partial_answer" |
| 446 | ], |
| 447 | "type": "string" |
| 448 | }, |
| 449 | { |
| 450 | "enum": [ |
| 451 | "final_answer" |
| 452 | ], |
| 453 | "type": "string" |
| 454 | } |
| 455 | ] |
| 456 | }, |
| 457 | "Personality": { |
| 458 | "enum": [ |
| 459 | "none", |
| 460 | "friendly", |
| 461 | "pragmatic" |
| 462 | ], |
| 463 | "type": "string" |
| 464 | }, |
| 465 | "ReasoningEffort": { |
| 466 | "minLength": 1, |
| 467 | "type": "string" |
| 468 | }, |
| 469 | "ReasoningItemContent": { |
| 470 | "oneOf": [ |
| 471 | { |
| 472 | "properties": { |
| 473 | "text": { |
| 474 | "type": "string" |
| 475 | }, |
| 476 | "type": { |
| 477 | "enum": [ |
| 478 | "reasoning_text" |
| 479 | ], |
| 480 | "type": "string" |
| 481 | } |
| 482 | }, |
| 483 | "required": [ |
| 484 | "text", |
| 485 | "type" |
| 486 | ], |
| 487 | "type": "object" |
| 488 | }, |
| 489 | { |
| 490 | "properties": { |
| 491 | "text": { |
| 492 | "type": "string" |
| 493 | }, |
| 494 | "type": { |
| 495 | "enum": [ |
| 496 | "text" |
| 497 | ], |
| 498 | "type": "string" |
| 499 | } |
| 500 | }, |
| 501 | "required": [ |
| 502 | "text", |
| 503 | "type" |
| 504 | ], |
| 505 | "type": "object" |
| 506 | } |
| 507 | ] |
| 508 | }, |
| 509 | "ReasoningItemReasoningSummary": { |
| 510 | "oneOf": [ |
| 511 | { |
| 512 | "properties": { |
| 513 | "text": { |
| 514 | "type": "string" |
| 515 | }, |
| 516 | "type": { |
| 517 | "enum": [ |
| 518 | "summary_text" |
| 519 | ], |
| 520 | "type": "string" |
| 521 | } |
| 522 | }, |
| 523 | "required": [ |
| 524 | "text", |
| 525 | "type" |
| 526 | ], |
| 527 | "type": "object" |
| 528 | } |
| 529 | ] |
| 530 | }, |
| 531 | "ResponseItem": { |
| 532 | "oneOf": [ |
| 533 | { |
| 534 | "properties": { |
| 535 | "id": { |
| 536 | "type": [ |
| 537 | "string", |
| 538 | "null" |
| 539 | ] |
| 540 | }, |
| 541 | "role": { |
| 542 | "type": "string" |
| 543 | }, |
| 544 | "tools": { |
| 545 | "items": true, |
| 546 | "type": "array" |
| 547 | }, |
| 548 | "type": { |
| 549 | "enum": [ |
| 550 | "additional_tools" |
| 551 | ], |
| 552 | "type": "string" |
| 553 | } |
| 554 | }, |
| 555 | "required": [ |
| 556 | "role", |
| 557 | "tools", |
| 558 | "type" |
| 559 | ], |
| 560 | "type": "object" |
| 561 | }, |
| 562 | { |
| 563 | "properties": { |
| 564 | "content": { |
| 565 | "items": { |
| 566 | "$ref": "#/definitions/ContentItem" |
| 567 | }, |
| 568 | "type": "array" |
| 569 | }, |
| 570 | "encrypted_content": { |
| 571 | "type": [ |
| 572 | "string", |
| 573 | "null" |
| 574 | ] |
| 575 | }, |
| 576 | "id": { |
| 577 | "type": [ |
| 578 | "string", |
| 579 | "null" |
| 580 | ] |
| 581 | }, |
| 582 | "internal_chat_message_metadata_passthrough": { |
| 583 | "anyOf": [ |
| 584 | { |
| 585 | "$ref": "#/definitions/InternalChatMessageMetadataPassthrough" |
| 586 | }, |
| 587 | { |
| 588 | "type": "null" |
| 589 | } |
| 590 | ] |
| 591 | }, |
| 592 | "phase": { |
| 593 | "anyOf": [ |
| 594 | { |
| 595 | "$ref": "#/definitions/MessagePhase" |
| 596 | }, |
| 597 | { |
| 598 | "type": "null" |
| 599 | } |
| 600 | ] |
| 601 | }, |
| 602 | "role": { |
| 603 | "type": "string" |
| 604 | }, |
| 605 | "status": { |
| 606 | "type": [ |
| 607 | "string", |
| 608 | "null" |
| 609 | ] |
| 610 | }, |
| 611 | "type": { |
| 612 | "enum": [ |
| 613 | "message" |
| 614 | ], |
| 615 | "type": "string" |
| 616 | } |
| 617 | }, |
| 618 | "required": [ |
| 619 | "content", |
| 620 | "role", |
| 621 | "type" |
| 622 | ], |
| 623 | "type": "object" |
| 624 | }, |
| 625 | { |
| 626 | "properties": { |
| 627 | "author": { |
| 628 | "type": "string" |
| 629 | }, |
| 630 | "content": { |
| 631 | "items": { |
| 632 | "$ref": "#/definitions/AgentMessageInputContent" |
| 633 | }, |
| 634 | "type": "array" |
| 635 | }, |
| 636 | "id": { |
| 637 | "type": [ |
| 638 | "string", |
| 639 | "null" |
| 640 | ] |
| 641 | }, |
| 642 | "internal_chat_message_metadata_passthrough": { |
| 643 | "anyOf": [ |
| 644 | { |
| 645 | "$ref": "#/definitions/InternalChatMessageMetadataPassthrough" |
| 646 | }, |
| 647 | { |
| 648 | "type": "null" |
| 649 | } |
| 650 | ] |
| 651 | }, |
| 652 | "recipient": { |
| 653 | "type": "string" |
| 654 | }, |
| 655 | "type": { |
| 656 | "enum": [ |
| 657 | "agent_message" |
| 658 | ], |
| 659 | "type": "string" |
| 660 | } |
| 661 | }, |
| 662 | "required": [ |
| 663 | "author", |
| 664 | "content", |
| 665 | "recipient", |
| 666 | "type" |
| 667 | ], |
| 668 | "type": "object" |
| 669 | }, |
| 670 | { |
| 671 | "properties": { |
| 672 | "content": { |
| 673 | "default": null, |
| 674 | "items": { |
| 675 | "$ref": "#/definitions/ReasoningItemContent" |
| 676 | }, |
| 677 | "type": [ |
| 678 | "array", |
| 679 | "null" |
| 680 | ] |
| 681 | }, |
| 682 | "encrypted_content": { |
| 683 | "type": [ |
| 684 | "string", |
| 685 | "null" |
| 686 | ] |
| 687 | }, |
| 688 | "id": { |
| 689 | "type": [ |
| 690 | "string", |
| 691 | "null" |
| 692 | ] |
| 693 | }, |
| 694 | "internal_chat_message_metadata_passthrough": { |
| 695 | "anyOf": [ |
| 696 | { |
| 697 | "$ref": "#/definitions/InternalChatMessageMetadataPassthrough" |
| 698 | }, |
| 699 | { |
| 700 | "type": "null" |
| 701 | } |
| 702 | ] |
| 703 | }, |
| 704 | "summary": { |
| 705 | "items": { |
| 706 | "$ref": "#/definitions/ReasoningItemReasoningSummary" |
| 707 | }, |
| 708 | "type": "array" |
| 709 | }, |
| 710 | "type": { |
| 711 | "enum": [ |
| 712 | "reasoning" |
| 713 | ], |
| 714 | "type": "string" |
| 715 | } |
| 716 | }, |
| 717 | "required": [ |
| 718 | "summary", |
| 719 | "type" |
| 720 | ], |
| 721 | "type": "object" |
| 722 | }, |
| 723 | { |
| 724 | "properties": { |
| 725 | "action": { |
| 726 | "$ref": "#/definitions/LocalShellAction" |
| 727 | }, |
| 728 | "call_id": { |
| 729 | "type": [ |
| 730 | "string", |
| 731 | "null" |
| 732 | ] |
| 733 | }, |
| 734 | "encrypted_content": { |
| 735 | "type": [ |
| 736 | "string", |
| 737 | "null" |
| 738 | ] |
| 739 | }, |
| 740 | "id": { |
| 741 | "type": [ |
| 742 | "string", |
| 743 | "null" |
| 744 | ] |
| 745 | }, |
| 746 | "internal_chat_message_metadata_passthrough": { |
| 747 | "anyOf": [ |
| 748 | { |
| 749 | "$ref": "#/definitions/InternalChatMessageMetadataPassthrough" |
| 750 | }, |
| 751 | { |
| 752 | "type": "null" |
| 753 | } |
| 754 | ] |
| 755 | }, |
| 756 | "status": { |
| 757 | "$ref": "#/definitions/LocalShellStatus" |
| 758 | }, |
| 759 | "type": { |
| 760 | "enum": [ |
| 761 | "local_shell_call" |
| 762 | ], |
| 763 | "type": "string" |
| 764 | } |
| 765 | }, |
| 766 | "required": [ |
| 767 | "action", |
| 768 | "status", |
| 769 | "type" |
| 770 | ], |
| 771 | "type": "object" |
| 772 | }, |
| 773 | { |
| 774 | "properties": { |
| 775 | "arguments": { |
| 776 | "type": "string" |
| 777 | }, |
| 778 | "call_id": { |
| 779 | "type": "string" |
| 780 | }, |
| 781 | "encrypted_content": { |
| 782 | "type": [ |
| 783 | "string", |
| 784 | "null" |
| 785 | ] |
| 786 | }, |
| 787 | "encrypted_function_args": { |
| 788 | "items": { |
| 789 | "type": "string" |
| 790 | }, |
| 791 | "type": [ |
| 792 | "array", |
| 793 | "null" |
| 794 | ] |
| 795 | }, |
| 796 | "id": { |
| 797 | "type": [ |
| 798 | "string", |
| 799 | "null" |
| 800 | ] |
| 801 | }, |
| 802 | "internal_chat_message_metadata_passthrough": { |
| 803 | "anyOf": [ |
| 804 | { |
| 805 | "$ref": "#/definitions/InternalChatMessageMetadataPassthrough" |
| 806 | }, |
| 807 | { |
| 808 | "type": "null" |
| 809 | } |
| 810 | ] |
| 811 | }, |
| 812 | "name": { |
| 813 | "type": "string" |
| 814 | }, |
| 815 | "namespace": { |
| 816 | "type": [ |
| 817 | "string", |
| 818 | "null" |
| 819 | ] |
| 820 | }, |
| 821 | "status": { |
| 822 | "type": [ |
| 823 | "string", |
| 824 | "null" |
| 825 | ] |
| 826 | }, |
| 827 | "type": { |
| 828 | "enum": [ |
| 829 | "function_call" |
| 830 | ], |
| 831 | "type": "string" |
| 832 | } |
| 833 | }, |
| 834 | "required": [ |
| 835 | "arguments", |
| 836 | "call_id", |
| 837 | "name", |
| 838 | "type" |
| 839 | ], |
| 840 | "type": "object" |
| 841 | }, |
| 842 | { |
| 843 | "properties": { |
| 844 | "arguments": true, |
| 845 | "call_id": { |
| 846 | "type": [ |
| 847 | "string", |
| 848 | "null" |
| 849 | ] |
| 850 | }, |
| 851 | "encrypted_content": { |
| 852 | "type": [ |
| 853 | "string", |
| 854 | "null" |
| 855 | ] |
| 856 | }, |
| 857 | "execution": { |
| 858 | "type": "string" |
| 859 | }, |
| 860 | "id": { |
| 861 | "type": [ |
| 862 | "string", |
| 863 | "null" |
| 864 | ] |
| 865 | }, |
| 866 | "internal_chat_message_metadata_passthrough": { |
| 867 | "anyOf": [ |
| 868 | { |
| 869 | "$ref": "#/definitions/InternalChatMessageMetadataPassthrough" |
| 870 | }, |
| 871 | { |
| 872 | "type": "null" |
| 873 | } |
| 874 | ] |
| 875 | }, |
| 876 | "status": { |
| 877 | "type": [ |
| 878 | "string", |
| 879 | "null" |
| 880 | ] |
| 881 | }, |
| 882 | "type": { |
| 883 | "enum": [ |
| 884 | "tool_search_call" |
| 885 | ], |
| 886 | "type": "string" |
| 887 | } |
| 888 | }, |
| 889 | "required": [ |
| 890 | "arguments", |
| 891 | "execution", |
| 892 | "type" |
| 893 | ], |
| 894 | "type": "object" |
| 895 | }, |
| 896 | { |
| 897 | "properties": { |
| 898 | "call_id": { |
| 899 | "type": [ |
| 900 | "string", |
| 901 | "null" |
| 902 | ] |
| 903 | }, |
| 904 | "id": { |
| 905 | "type": [ |
| 906 | "string", |
| 907 | "null" |
| 908 | ] |
| 909 | }, |
| 910 | "internal_chat_message_metadata_passthrough": { |
| 911 | "anyOf": [ |
| 912 | { |
| 913 | "$ref": "#/definitions/InternalChatMessageMetadataPassthrough" |
| 914 | }, |
| 915 | { |
| 916 | "type": "null" |
| 917 | } |
| 918 | ] |
| 919 | }, |
| 920 | "name": { |
| 921 | "type": [ |
| 922 | "string", |
| 923 | "null" |
| 924 | ] |
| 925 | }, |
| 926 | "namespace": { |
| 927 | "type": [ |
| 928 | "string", |
| 929 | "null" |
| 930 | ] |
| 931 | }, |
| 932 | "output": { |
| 933 | "$ref": "#/definitions/FunctionCallOutputBody" |
| 934 | }, |
| 935 | "type": { |
| 936 | "enum": [ |
| 937 | "function_call_output" |
| 938 | ], |
| 939 | "type": "string" |
| 940 | } |
| 941 | }, |
| 942 | "required": [ |
| 943 | "output", |
| 944 | "type" |
| 945 | ], |
| 946 | "type": "object" |
| 947 | }, |
| 948 | { |
| 949 | "properties": { |
| 950 | "call_id": { |
| 951 | "type": "string" |
| 952 | }, |
| 953 | "encrypted_content": { |
| 954 | "type": [ |
| 955 | "string", |
| 956 | "null" |
| 957 | ] |
| 958 | }, |
| 959 | "id": { |
| 960 | "type": [ |
| 961 | "string", |
| 962 | "null" |
| 963 | ] |
| 964 | }, |
| 965 | "input": { |
| 966 | "type": "string" |
| 967 | }, |
| 968 | "internal_chat_message_metadata_passthrough": { |
| 969 | "anyOf": [ |
| 970 | { |
| 971 | "$ref": "#/definitions/InternalChatMessageMetadataPassthrough" |
| 972 | }, |
| 973 | { |
| 974 | "type": "null" |
| 975 | } |
| 976 | ] |
| 977 | }, |
| 978 | "name": { |
| 979 | "type": "string" |
| 980 | }, |
| 981 | "namespace": { |
| 982 | "type": [ |
| 983 | "string", |
| 984 | "null" |
| 985 | ] |
| 986 | }, |
| 987 | "status": { |
| 988 | "type": [ |
| 989 | "string", |
| 990 | "null" |
| 991 | ] |
| 992 | }, |
| 993 | "type": { |
| 994 | "enum": [ |
| 995 | "custom_tool_call" |
| 996 | ], |
| 997 | "type": "string" |
| 998 | } |
| 999 | }, |
| 1000 | "required": [ |
| 1001 | "call_id", |
| 1002 | "input", |
| 1003 | "name", |
| 1004 | "type" |
| 1005 | ], |
| 1006 | "type": "object" |
| 1007 | }, |
| 1008 | { |
| 1009 | "properties": { |
| 1010 | "call_id": { |
| 1011 | "type": "string" |
| 1012 | }, |
| 1013 | "id": { |
| 1014 | "type": [ |
| 1015 | "string", |
| 1016 | "null" |
| 1017 | ] |
| 1018 | }, |
| 1019 | "internal_chat_message_metadata_passthrough": { |
| 1020 | "anyOf": [ |
| 1021 | { |
| 1022 | "$ref": "#/definitions/InternalChatMessageMetadataPassthrough" |
| 1023 | }, |
| 1024 | { |
| 1025 | "type": "null" |
| 1026 | } |
| 1027 | ] |
| 1028 | }, |
| 1029 | "name": { |
| 1030 | "type": [ |
| 1031 | "string", |
| 1032 | "null" |
| 1033 | ] |
| 1034 | }, |
| 1035 | "output": { |
| 1036 | "$ref": "#/definitions/FunctionCallOutputBody" |
| 1037 | }, |
| 1038 | "type": { |
| 1039 | "enum": [ |
| 1040 | "custom_tool_call_output" |
| 1041 | ], |
| 1042 | "type": "string" |
| 1043 | } |
| 1044 | }, |
| 1045 | "required": [ |
| 1046 | "call_id", |
| 1047 | "output", |
| 1048 | "type" |
| 1049 | ], |
| 1050 | "type": "object" |
| 1051 | }, |
| 1052 | { |
| 1053 | "properties": { |
| 1054 | "call_id": { |
| 1055 | "type": [ |
| 1056 | "string", |
| 1057 | "null" |
| 1058 | ] |
| 1059 | }, |
| 1060 | "execution": { |
| 1061 | "type": "string" |
| 1062 | }, |
| 1063 | "id": { |
| 1064 | "type": [ |
| 1065 | "string", |
| 1066 | "null" |
| 1067 | ] |
| 1068 | }, |
| 1069 | "internal_chat_message_metadata_passthrough": { |
| 1070 | "anyOf": [ |
| 1071 | { |
| 1072 | "$ref": "#/definitions/InternalChatMessageMetadataPassthrough" |
| 1073 | }, |
| 1074 | { |
| 1075 | "type": "null" |
| 1076 | } |
| 1077 | ] |
| 1078 | }, |
| 1079 | "status": { |
| 1080 | "type": "string" |
| 1081 | }, |
| 1082 | "tools": { |
| 1083 | "items": true, |
| 1084 | "type": "array" |
| 1085 | }, |
| 1086 | "type": { |
| 1087 | "enum": [ |
| 1088 | "tool_search_output" |
| 1089 | ], |
| 1090 | "type": "string" |
| 1091 | } |
| 1092 | }, |
| 1093 | "required": [ |
| 1094 | "execution", |
| 1095 | "status", |
| 1096 | "tools", |
| 1097 | "type" |
| 1098 | ], |
| 1099 | "type": "object" |
| 1100 | }, |
| 1101 | { |
| 1102 | "properties": { |
| 1103 | "action": { |
| 1104 | "anyOf": [ |
| 1105 | { |
| 1106 | "$ref": "#/definitions/ResponsesApiWebSearchAction" |
| 1107 | }, |
| 1108 | { |
| 1109 | "type": "null" |
| 1110 | } |
| 1111 | ] |
| 1112 | }, |
| 1113 | "encrypted_content": { |
| 1114 | "type": [ |
| 1115 | "string", |
| 1116 | "null" |
| 1117 | ] |
| 1118 | }, |
| 1119 | "id": { |
| 1120 | "type": [ |
| 1121 | "string", |
| 1122 | "null" |
| 1123 | ] |
| 1124 | }, |
| 1125 | "internal_chat_message_metadata_passthrough": { |
| 1126 | "anyOf": [ |
| 1127 | { |
| 1128 | "$ref": "#/definitions/InternalChatMessageMetadataPassthrough" |
| 1129 | }, |
| 1130 | { |
| 1131 | "type": "null" |
| 1132 | } |
| 1133 | ] |
| 1134 | }, |
| 1135 | "status": { |
| 1136 | "type": [ |
| 1137 | "string", |
| 1138 | "null" |
| 1139 | ] |
| 1140 | }, |
| 1141 | "type": { |
| 1142 | "enum": [ |
| 1143 | "web_search_call" |
| 1144 | ], |
| 1145 | "type": "string" |
| 1146 | } |
| 1147 | }, |
| 1148 | "required": [ |
| 1149 | "type" |
| 1150 | ], |
| 1151 | "type": "object" |
| 1152 | }, |
| 1153 | { |
| 1154 | "properties": { |
| 1155 | "encrypted_content": { |
| 1156 | "type": [ |
| 1157 | "string", |
| 1158 | "null" |
| 1159 | ] |
| 1160 | }, |
| 1161 | "id": { |
| 1162 | "type": [ |
| 1163 | "string", |
| 1164 | "null" |
| 1165 | ] |
| 1166 | }, |
| 1167 | "internal_chat_message_metadata_passthrough": { |
| 1168 | "anyOf": [ |
| 1169 | { |
| 1170 | "$ref": "#/definitions/InternalChatMessageMetadataPassthrough" |
| 1171 | }, |
| 1172 | { |
| 1173 | "type": "null" |
| 1174 | } |
| 1175 | ] |
| 1176 | }, |
| 1177 | "result": { |
| 1178 | "type": "string" |
| 1179 | }, |
| 1180 | "revised_prompt": { |
| 1181 | "type": [ |
| 1182 | "string", |
| 1183 | "null" |
| 1184 | ] |
| 1185 | }, |
| 1186 | "status": { |
| 1187 | "type": "string" |
| 1188 | }, |
| 1189 | "type": { |
| 1190 | "enum": [ |
| 1191 | "image_generation_call" |
| 1192 | ], |
| 1193 | "type": "string" |
| 1194 | } |
| 1195 | }, |
| 1196 | "required": [ |
| 1197 | "result", |
| 1198 | "status", |
| 1199 | "type" |
| 1200 | ], |
| 1201 | "type": "object" |
| 1202 | }, |
| 1203 | { |
| 1204 | "properties": { |
| 1205 | "encrypted_content": { |
| 1206 | "type": "string" |
| 1207 | }, |
| 1208 | "id": { |
| 1209 | "type": [ |
| 1210 | "string", |
| 1211 | "null" |
| 1212 | ] |
| 1213 | }, |
| 1214 | "internal_chat_message_metadata_passthrough": { |
| 1215 | "anyOf": [ |
| 1216 | { |
| 1217 | "$ref": "#/definitions/InternalChatMessageMetadataPassthrough" |
| 1218 | }, |
| 1219 | { |
| 1220 | "type": "null" |
| 1221 | } |
| 1222 | ] |
| 1223 | }, |
| 1224 | "type": { |
| 1225 | "enum": [ |
| 1226 | "compaction" |
| 1227 | ], |
| 1228 | "type": "string" |
| 1229 | } |
| 1230 | }, |
| 1231 | "required": [ |
| 1232 | "encrypted_content", |
| 1233 | "type" |
| 1234 | ], |
| 1235 | "type": "object" |
| 1236 | }, |
| 1237 | { |
| 1238 | "properties": { |
| 1239 | "reasoning": { |
| 1240 | "$ref": "#/definitions/ConfigurationReasoning" |
| 1241 | }, |
| 1242 | "type": { |
| 1243 | "enum": [ |
| 1244 | "configuration_update" |
| 1245 | ], |
| 1246 | "type": "string" |
| 1247 | } |
| 1248 | }, |
| 1249 | "required": [ |
| 1250 | "reasoning", |
| 1251 | "type" |
| 1252 | ], |
| 1253 | "type": "object" |
| 1254 | }, |
| 1255 | { |
| 1256 | "properties": { |
| 1257 | "type": { |
| 1258 | "enum": [ |
| 1259 | "compaction_trigger" |
| 1260 | ], |
| 1261 | "type": "string" |
| 1262 | } |
| 1263 | }, |
| 1264 | "required": [ |
| 1265 | "type" |
| 1266 | ], |
| 1267 | "type": "object" |
| 1268 | }, |
| 1269 | { |
| 1270 | "properties": { |
| 1271 | "encrypted_content": { |
| 1272 | "type": [ |
| 1273 | "string", |
| 1274 | "null" |
| 1275 | ] |
| 1276 | }, |
| 1277 | "id": { |
| 1278 | "type": [ |
| 1279 | "string", |
| 1280 | "null" |
| 1281 | ] |
| 1282 | }, |
| 1283 | "internal_chat_message_metadata_passthrough": { |
| 1284 | "anyOf": [ |
| 1285 | { |
| 1286 | "$ref": "#/definitions/InternalChatMessageMetadataPassthrough" |
| 1287 | }, |
| 1288 | { |
| 1289 | "type": "null" |
| 1290 | } |
| 1291 | ] |
| 1292 | }, |
| 1293 | "type": { |
| 1294 | "enum": [ |
| 1295 | "context_compaction" |
| 1296 | ], |
| 1297 | "type": "string" |
| 1298 | } |
| 1299 | }, |
| 1300 | "required": [ |
| 1301 | "type" |
| 1302 | ], |
| 1303 | "type": "object" |
| 1304 | }, |
| 1305 | { |
| 1306 | "properties": { |
| 1307 | "type": { |
| 1308 | "enum": [ |
| 1309 | "other" |
| 1310 | ], |
| 1311 | "type": "string" |
| 1312 | } |
| 1313 | }, |
| 1314 | "required": [ |
| 1315 | "type" |
| 1316 | ], |
| 1317 | "type": "object" |
| 1318 | } |
| 1319 | ] |
| 1320 | }, |
| 1321 | "ResponsesApiWebSearchAction": { |
| 1322 | "oneOf": [ |
| 1323 | { |
| 1324 | "properties": { |
| 1325 | "queries": { |
| 1326 | "items": { |
| 1327 | "type": "string" |
| 1328 | }, |
| 1329 | "type": [ |
| 1330 | "array", |
| 1331 | "null" |
| 1332 | ] |
| 1333 | }, |
| 1334 | "query": { |
| 1335 | "type": [ |
| 1336 | "string", |
| 1337 | "null" |
| 1338 | ] |
| 1339 | }, |
| 1340 | "type": { |
| 1341 | "enum": [ |
| 1342 | "search" |
| 1343 | ], |
| 1344 | "type": "string" |
| 1345 | } |
| 1346 | }, |
| 1347 | "required": [ |
| 1348 | "type" |
| 1349 | ], |
| 1350 | "type": "object" |
| 1351 | }, |
| 1352 | { |
| 1353 | "properties": { |
| 1354 | "type": { |
| 1355 | "enum": [ |
| 1356 | "open_page" |
| 1357 | ], |
| 1358 | "type": "string" |
| 1359 | }, |
| 1360 | "url": { |
| 1361 | "type": [ |
| 1362 | "string", |
| 1363 | "null" |
| 1364 | ] |
| 1365 | } |
| 1366 | }, |
| 1367 | "required": [ |
| 1368 | "type" |
| 1369 | ], |
| 1370 | "type": "object" |
| 1371 | }, |
| 1372 | { |
| 1373 | "properties": { |
| 1374 | "pattern": { |
| 1375 | "type": [ |
| 1376 | "string", |
| 1377 | "null" |
| 1378 | ] |
| 1379 | }, |
| 1380 | "type": { |
| 1381 | "enum": [ |
| 1382 | "find_in_page" |
| 1383 | ], |
| 1384 | "type": "string" |
| 1385 | }, |
| 1386 | "url": { |
| 1387 | "type": [ |
| 1388 | "string", |
| 1389 | "null" |
| 1390 | ] |
| 1391 | } |
| 1392 | }, |
| 1393 | "required": [ |
| 1394 | "type" |
| 1395 | ], |
| 1396 | "type": "object" |
| 1397 | }, |
| 1398 | { |
| 1399 | "properties": { |
| 1400 | "type": { |
| 1401 | "enum": [ |
| 1402 | "other" |
| 1403 | ], |
| 1404 | "type": "string" |
| 1405 | } |
| 1406 | }, |
| 1407 | "required": [ |
| 1408 | "type" |
| 1409 | ], |
| 1410 | "type": "object" |
| 1411 | } |
| 1412 | ] |
| 1413 | }, |
| 1414 | "SandboxMode": { |
| 1415 | "enum": [ |
| 1416 | "read-only", |
| 1417 | "workspace-write", |
| 1418 | "danger-full-access" |
| 1419 | ], |
| 1420 | "type": "string" |
| 1421 | }, |
| 1422 | "SortDirection": { |
| 1423 | "enum": [ |
| 1424 | "asc", |
| 1425 | "desc" |
| 1426 | ], |
| 1427 | "type": "string" |
| 1428 | }, |
| 1429 | "ThreadResumeInitialTurnsPageParams": { |
| 1430 | "properties": { |
| 1431 | "itemsView": { |
| 1432 | "anyOf": [ |
| 1433 | { |
| 1434 | "$ref": "#/definitions/TurnItemsView" |
| 1435 | }, |
| 1436 | { |
| 1437 | "type": "null" |
| 1438 | } |
| 1439 | ] |
| 1440 | }, |
| 1441 | "limit": { |
| 1442 | "format": "uint32", |
| 1443 | "minimum": 0.0, |
| 1444 | "type": [ |
| 1445 | "integer", |
| 1446 | "null" |
| 1447 | ] |
| 1448 | }, |
| 1449 | "sortDirection": { |
| 1450 | "anyOf": [ |
| 1451 | { |
| 1452 | "$ref": "#/definitions/SortDirection" |
| 1453 | }, |
| 1454 | { |
| 1455 | "type": "null" |
| 1456 | } |
| 1457 | ] |
| 1458 | } |
| 1459 | }, |
| 1460 | "type": "object" |
| 1461 | }, |
| 1462 | "TurnItemsView": { |
| 1463 | "oneOf": [ |
| 1464 | { |
| 1465 | "enum": [ |
| 1466 | "notLoaded" |
| 1467 | ], |
| 1468 | "type": "string" |
| 1469 | }, |
| 1470 | { |
| 1471 | "enum": [ |
| 1472 | "summary" |
| 1473 | ], |
| 1474 | "type": "string" |
| 1475 | }, |
| 1476 | { |
| 1477 | "enum": [ |
| 1478 | "full" |
| 1479 | ], |
| 1480 | "type": "string" |
| 1481 | } |
| 1482 | ] |
| 1483 | } |
| 1484 | }, |
| 1485 | "properties": { |
| 1486 | "approvalPolicy": { |
| 1487 | "anyOf": [ |
| 1488 | { |
| 1489 | "$ref": "#/definitions/AskForApproval" |
| 1490 | }, |
| 1491 | { |
| 1492 | "type": "null" |
| 1493 | } |
| 1494 | ] |
| 1495 | }, |
| 1496 | "approvalsReviewer": { |
| 1497 | "anyOf": [ |
| 1498 | { |
| 1499 | "$ref": "#/definitions/ApprovalsReviewer" |
| 1500 | }, |
| 1501 | { |
| 1502 | "type": "null" |
| 1503 | } |
| 1504 | ] |
| 1505 | }, |
| 1506 | "baseInstructions": { |
| 1507 | "type": [ |
| 1508 | "string", |
| 1509 | "null" |
| 1510 | ] |
| 1511 | }, |
| 1512 | "config": { |
| 1513 | "additionalProperties": true, |
| 1514 | "type": [ |
| 1515 | "object", |
| 1516 | "null" |
| 1517 | ] |
| 1518 | }, |
| 1519 | "cwd": { |
| 1520 | "type": [ |
| 1521 | "string", |
| 1522 | "null" |
| 1523 | ] |
| 1524 | }, |
| 1525 | "developerInstructions": { |
| 1526 | "type": [ |
| 1527 | "string", |
| 1528 | "null" |
| 1529 | ] |
| 1530 | }, |
| 1531 | "excludeTurns": { |
| 1532 | "type": "boolean" |
| 1533 | }, |
| 1534 | "history": { |
| 1535 | "items": { |
| 1536 | "$ref": "#/definitions/ResponseItem" |
| 1537 | }, |
| 1538 | "type": [ |
| 1539 | "array", |
| 1540 | "null" |
| 1541 | ] |
| 1542 | }, |
| 1543 | "initialTurnsPage": { |
| 1544 | "anyOf": [ |
| 1545 | { |
| 1546 | "$ref": "#/definitions/ThreadResumeInitialTurnsPageParams" |
| 1547 | }, |
| 1548 | { |
| 1549 | "type": "null" |
| 1550 | } |
| 1551 | ] |
| 1552 | }, |
| 1553 | "model": { |
| 1554 | "type": [ |
| 1555 | "string", |
| 1556 | "null" |
| 1557 | ] |
| 1558 | }, |
| 1559 | "modelProvider": { |
| 1560 | "type": [ |
| 1561 | "string", |
| 1562 | "null" |
| 1563 | ] |
| 1564 | }, |
| 1565 | "path": { |
| 1566 | "default": null, |
| 1567 | "type": [ |
| 1568 | "string", |
| 1569 | "null" |
| 1570 | ] |
| 1571 | }, |
| 1572 | "permissions": { |
| 1573 | "type": [ |
| 1574 | "string", |
| 1575 | "null" |
| 1576 | ] |
| 1577 | }, |
| 1578 | "personality": { |
| 1579 | "anyOf": [ |
| 1580 | { |
| 1581 | "$ref": "#/definitions/Personality" |
| 1582 | }, |
| 1583 | { |
| 1584 | "type": "null" |
| 1585 | } |
| 1586 | ] |
| 1587 | }, |
| 1588 | "runtimeWorkspaceRoots": { |
| 1589 | "items": { |
| 1590 | "$ref": "#/definitions/AbsolutePathBuf" |
| 1591 | }, |
| 1592 | "type": [ |
| 1593 | "array", |
| 1594 | "null" |
| 1595 | ] |
| 1596 | }, |
| 1597 | "sandbox": { |
| 1598 | "anyOf": [ |
| 1599 | { |
| 1600 | "$ref": "#/definitions/SandboxMode" |
| 1601 | }, |
| 1602 | { |
| 1603 | "type": "null" |
| 1604 | } |
| 1605 | ] |
| 1606 | }, |
| 1607 | "serviceTier": { |
| 1608 | "type": [ |
| 1609 | "string", |
| 1610 | "null" |
| 1611 | ] |
| 1612 | }, |
| 1613 | "threadId": { |
| 1614 | "type": "string" |
| 1615 | } |
| 1616 | }, |
| 1617 | "required": [ |
| 1618 | "threadId" |
| 1619 | ], |
| 1620 | "type": "object" |
| 1621 | } |
| 1622 | |