| 1 | { |
| 2 | "$schema": "http://json-schema.org/draft-07/schema#", |
| 3 | "definitions": { |
| 4 | "AbsolutePathBuf": { |
| 5 | "type": "string" |
| 6 | }, |
| 7 | "AgentMessageDelivery": { |
| 8 | "enum": [ |
| 9 | "async" |
| 10 | ], |
| 11 | "type": "string" |
| 12 | }, |
| 13 | "AsyncUserInputQuestion": { |
| 14 | "additionalProperties": false, |
| 15 | "properties": { |
| 16 | "options": { |
| 17 | "items": { |
| 18 | "type": "string" |
| 19 | }, |
| 20 | "type": [ |
| 21 | "array", |
| 22 | "null" |
| 23 | ] |
| 24 | } |
| 25 | }, |
| 26 | "required": [ |
| 27 | "title" |
| 28 | ], |
| 29 | "type": "object" |
| 30 | }, |
| 31 | "ByteRange": { |
| 32 | "properties": { |
| 33 | "end": { |
| 34 | "format": "uint", |
| 35 | "minimum": 0.0, |
| 36 | "type": "integer" |
| 37 | }, |
| 38 | "start": { |
| 39 | "format": "uint", |
| 40 | "minimum": 0.0, |
| 41 | "type": "integer" |
| 42 | } |
| 43 | }, |
| 44 | "required": [ |
| 45 | "end", |
| 46 | "start" |
| 47 | ], |
| 48 | "type": "object" |
| 49 | }, |
| 50 | "CollabAgentState": { |
| 51 | "properties": { |
| 52 | "message": { |
| 53 | "type": [ |
| 54 | "string", |
| 55 | "null" |
| 56 | ] |
| 57 | }, |
| 58 | "status": { |
| 59 | "$ref": "#/definitions/CollabAgentStatus" |
| 60 | } |
| 61 | }, |
| 62 | "required": [ |
| 63 | "status" |
| 64 | ], |
| 65 | "type": "object" |
| 66 | }, |
| 67 | "CollabAgentStatus": { |
| 68 | "enum": [ |
| 69 | "pendingInit", |
| 70 | "running", |
| 71 | "interrupted", |
| 72 | "completed", |
| 73 | "errored", |
| 74 | "shutdown", |
| 75 | "notFound" |
| 76 | ], |
| 77 | "type": "string" |
| 78 | }, |
| 79 | "CollabAgentTool": { |
| 80 | "enum": [ |
| 81 | "spawnAgent", |
| 82 | "sendInput", |
| 83 | "resumeAgent", |
| 84 | "wait", |
| 85 | "closeAgent", |
| 86 | "sendMessage", |
| 87 | "followupTask", |
| 88 | "interruptAgent", |
| 89 | "listAgents" |
| 90 | ], |
| 91 | "type": "string" |
| 92 | }, |
| 93 | "CollabAgentToolCallStatus": { |
| 94 | "enum": [ |
| 95 | "inProgress", |
| 96 | "completed", |
| 97 | "failed", |
| 98 | "interrupted" |
| 99 | ], |
| 100 | "type": "string" |
| 101 | }, |
| 102 | "CommandAction": { |
| 103 | "oneOf": [ |
| 104 | { |
| 105 | "properties": { |
| 106 | "command": { |
| 107 | "type": "string" |
| 108 | }, |
| 109 | "name": { |
| 110 | "type": "string" |
| 111 | }, |
| 112 | "path": { |
| 113 | "$ref": "#/definitions/LegacyAppPathString" |
| 114 | }, |
| 115 | "type": { |
| 116 | "enum": [ |
| 117 | "read" |
| 118 | ], |
| 119 | "type": "string" |
| 120 | } |
| 121 | }, |
| 122 | "required": [ |
| 123 | "command", |
| 124 | "name", |
| 125 | "path", |
| 126 | "type" |
| 127 | ], |
| 128 | "type": "object" |
| 129 | }, |
| 130 | { |
| 131 | "properties": { |
| 132 | "command": { |
| 133 | "type": "string" |
| 134 | }, |
| 135 | "path": { |
| 136 | "type": [ |
| 137 | "string", |
| 138 | "null" |
| 139 | ] |
| 140 | }, |
| 141 | "type": { |
| 142 | "enum": [ |
| 143 | "listFiles" |
| 144 | ], |
| 145 | "type": "string" |
| 146 | } |
| 147 | }, |
| 148 | "required": [ |
| 149 | "command", |
| 150 | "type" |
| 151 | ], |
| 152 | "type": "object" |
| 153 | }, |
| 154 | { |
| 155 | "properties": { |
| 156 | "command": { |
| 157 | "type": "string" |
| 158 | }, |
| 159 | "path": { |
| 160 | "type": [ |
| 161 | "string", |
| 162 | "null" |
| 163 | ] |
| 164 | }, |
| 165 | "query": { |
| 166 | "type": [ |
| 167 | "string", |
| 168 | "null" |
| 169 | ] |
| 170 | }, |
| 171 | "type": { |
| 172 | "enum": [ |
| 173 | "search" |
| 174 | ], |
| 175 | "type": "string" |
| 176 | } |
| 177 | }, |
| 178 | "required": [ |
| 179 | "command", |
| 180 | "type" |
| 181 | ], |
| 182 | "type": "object" |
| 183 | }, |
| 184 | { |
| 185 | "properties": { |
| 186 | "command": { |
| 187 | "type": "string" |
| 188 | }, |
| 189 | "type": { |
| 190 | "enum": [ |
| 191 | "unknown" |
| 192 | ], |
| 193 | "type": "string" |
| 194 | } |
| 195 | }, |
| 196 | "required": [ |
| 197 | "command", |
| 198 | "type" |
| 199 | ], |
| 200 | "type": "object" |
| 201 | } |
| 202 | ] |
| 203 | }, |
| 204 | "CommandExecutionSource": { |
| 205 | "enum": [ |
| 206 | "agent", |
| 207 | "userShell", |
| 208 | "unifiedExecStartup", |
| 209 | "unifiedExecInteraction" |
| 210 | ], |
| 211 | "type": "string" |
| 212 | }, |
| 213 | "CommandExecutionStatus": { |
| 214 | "enum": [ |
| 215 | "inProgress", |
| 216 | "completed", |
| 217 | "failed", |
| 218 | "declined" |
| 219 | ], |
| 220 | "type": "string" |
| 221 | }, |
| 222 | "DynamicToolCallOutputContentItem": { |
| 223 | "oneOf": [ |
| 224 | { |
| 225 | "properties": { |
| 226 | "text": { |
| 227 | "type": "string" |
| 228 | }, |
| 229 | "type": { |
| 230 | "enum": [ |
| 231 | "inputText" |
| 232 | ], |
| 233 | "type": "string" |
| 234 | } |
| 235 | }, |
| 236 | "required": [ |
| 237 | "text", |
| 238 | "type" |
| 239 | ], |
| 240 | "type": "object" |
| 241 | }, |
| 242 | { |
| 243 | "properties": { |
| 244 | "imageUrl": { |
| 245 | "type": "string" |
| 246 | }, |
| 247 | "type": { |
| 248 | "enum": [ |
| 249 | "inputImage" |
| 250 | ], |
| 251 | "type": "string" |
| 252 | } |
| 253 | }, |
| 254 | "required": [ |
| 255 | "imageUrl", |
| 256 | "type" |
| 257 | ], |
| 258 | "type": "object" |
| 259 | }, |
| 260 | { |
| 261 | "properties": { |
| 262 | "audioUrl": { |
| 263 | "type": "string" |
| 264 | }, |
| 265 | "type": { |
| 266 | "enum": [ |
| 267 | "inputAudio" |
| 268 | ], |
| 269 | "type": "string" |
| 270 | } |
| 271 | }, |
| 272 | "required": [ |
| 273 | "audioUrl", |
| 274 | "type" |
| 275 | ], |
| 276 | "type": "object" |
| 277 | } |
| 278 | ] |
| 279 | }, |
| 280 | "DynamicToolCallStatus": { |
| 281 | "enum": [ |
| 282 | "inProgress", |
| 283 | "completed", |
| 284 | "failed" |
| 285 | ], |
| 286 | "type": "string" |
| 287 | }, |
| 288 | "FileUpdateChange": { |
| 289 | "properties": { |
| 290 | "diff": { |
| 291 | "type": "string" |
| 292 | }, |
| 293 | "kind": { |
| 294 | "$ref": "#/definitions/PatchChangeKind" |
| 295 | }, |
| 296 | "path": { |
| 297 | "type": "string" |
| 298 | } |
| 299 | }, |
| 300 | "required": [ |
| 301 | "diff", |
| 302 | "kind", |
| 303 | "path" |
| 304 | ], |
| 305 | "type": "object" |
| 306 | }, |
| 307 | "FunctionCallOutputBody": { |
| 308 | "anyOf": [ |
| 309 | { |
| 310 | "type": "string" |
| 311 | }, |
| 312 | { |
| 313 | "items": { |
| 314 | "$ref": "#/definitions/FunctionCallOutputContentItem" |
| 315 | }, |
| 316 | "type": "array" |
| 317 | } |
| 318 | ] |
| 319 | }, |
| 320 | "FunctionCallOutputContentItem": { |
| 321 | "oneOf": [ |
| 322 | { |
| 323 | "properties": { |
| 324 | "text": { |
| 325 | "type": "string" |
| 326 | }, |
| 327 | "type": { |
| 328 | "enum": [ |
| 329 | "input_text" |
| 330 | ], |
| 331 | "type": "string" |
| 332 | } |
| 333 | }, |
| 334 | "required": [ |
| 335 | "text", |
| 336 | "type" |
| 337 | ], |
| 338 | "type": "object" |
| 339 | }, |
| 340 | { |
| 341 | "anyOf": [ |
| 342 | { |
| 343 | "properties": { |
| 344 | "image_url": { |
| 345 | "type": "string" |
| 346 | } |
| 347 | }, |
| 348 | "required": [ |
| 349 | "image_url" |
| 350 | ], |
| 351 | "type": "object" |
| 352 | }, |
| 353 | { |
| 354 | "properties": { |
| 355 | "file_id": { |
| 356 | "type": "string" |
| 357 | } |
| 358 | }, |
| 359 | "required": [ |
| 360 | "file_id" |
| 361 | ], |
| 362 | "type": "object" |
| 363 | } |
| 364 | ], |
| 365 | "properties": { |
| 366 | "detail": { |
| 367 | "anyOf": [ |
| 368 | { |
| 369 | "$ref": "#/definitions/ImageDetail" |
| 370 | }, |
| 371 | { |
| 372 | "type": "null" |
| 373 | } |
| 374 | ] |
| 375 | }, |
| 376 | "type": { |
| 377 | "enum": [ |
| 378 | "input_image" |
| 379 | ], |
| 380 | "type": "string" |
| 381 | } |
| 382 | }, |
| 383 | "required": [ |
| 384 | "type" |
| 385 | ], |
| 386 | "type": "object" |
| 387 | }, |
| 388 | { |
| 389 | "properties": { |
| 390 | "audio_url": { |
| 391 | "type": "string" |
| 392 | }, |
| 393 | "type": { |
| 394 | "enum": [ |
| 395 | "input_audio" |
| 396 | ], |
| 397 | "type": "string" |
| 398 | } |
| 399 | }, |
| 400 | "required": [ |
| 401 | "audio_url", |
| 402 | "type" |
| 403 | ], |
| 404 | "type": "object" |
| 405 | }, |
| 406 | { |
| 407 | "properties": { |
| 408 | "encrypted_content": { |
| 409 | "type": "string" |
| 410 | }, |
| 411 | "type": { |
| 412 | "enum": [ |
| 413 | "encrypted_content" |
| 414 | ], |
| 415 | "type": "string" |
| 416 | } |
| 417 | }, |
| 418 | "required": [ |
| 419 | "encrypted_content", |
| 420 | "type" |
| 421 | ], |
| 422 | "type": "object" |
| 423 | } |
| 424 | ] |
| 425 | }, |
| 426 | "HookPromptFragment": { |
| 427 | "properties": { |
| 428 | "hookRunId": { |
| 429 | "type": "string" |
| 430 | }, |
| 431 | "text": { |
| 432 | "type": "string" |
| 433 | } |
| 434 | }, |
| 435 | "required": [ |
| 436 | "hookRunId", |
| 437 | "text" |
| 438 | ], |
| 439 | "type": "object" |
| 440 | }, |
| 441 | "ImageDetail": { |
| 442 | "enum": [ |
| 443 | "auto", |
| 444 | "low", |
| 445 | "high", |
| 446 | "original" |
| 447 | ], |
| 448 | "type": "string" |
| 449 | }, |
| 450 | "ImageGenerationFailure": { |
| 451 | "oneOf": [ |
| 452 | { |
| 453 | "properties": { |
| 454 | "limitId": { |
| 455 | "type": "string" |
| 456 | }, |
| 457 | "resetsAt": { |
| 458 | "format": "int64", |
| 459 | "type": [ |
| 460 | "integer", |
| 461 | "null" |
| 462 | ] |
| 463 | }, |
| 464 | "type": { |
| 465 | "enum": [ |
| 466 | "usageLimitExceeded" |
| 467 | ], |
| 468 | "type": "string" |
| 469 | } |
| 470 | }, |
| 471 | "required": [ |
| 472 | "limitId", |
| 473 | "type" |
| 474 | ], |
| 475 | "type": "object" |
| 476 | } |
| 477 | ] |
| 478 | }, |
| 479 | "ImageGenerationInputImage": { |
| 480 | "properties": { |
| 481 | "path": { |
| 482 | "$ref": "#/definitions/AbsolutePathBuf" |
| 483 | }, |
| 484 | "sha256": { |
| 485 | "type": "string" |
| 486 | } |
| 487 | }, |
| 488 | "required": [ |
| 489 | "path", |
| 490 | "sha256" |
| 491 | ], |
| 492 | "type": "object" |
| 493 | }, |
| 494 | "LegacyAppPathString": { |
| 495 | "type": "string" |
| 496 | }, |
| 497 | "McpAppDisplayMode": { |
| 498 | "enum": [ |
| 499 | "inline", |
| 500 | "fullscreen" |
| 501 | ], |
| 502 | "type": "string" |
| 503 | }, |
| 504 | "McpAppUi": { |
| 505 | "properties": { |
| 506 | "preferredModelDisplayMode": { |
| 507 | "$ref": "#/definitions/McpAppDisplayMode" |
| 508 | }, |
| 509 | "resourceUri": { |
| 510 | "type": "string" |
| 511 | } |
| 512 | }, |
| 513 | "required": [ |
| 514 | "preferredModelDisplayMode", |
| 515 | "resourceUri" |
| 516 | ], |
| 517 | "type": "object" |
| 518 | }, |
| 519 | "McpToolCallAppContext": { |
| 520 | "properties": { |
| 521 | "actionName": { |
| 522 | "type": [ |
| 523 | "string", |
| 524 | "null" |
| 525 | ] |
| 526 | }, |
| 527 | "appName": { |
| 528 | "type": [ |
| 529 | "string", |
| 530 | "null" |
| 531 | ] |
| 532 | }, |
| 533 | "connectorId": { |
| 534 | "type": "string" |
| 535 | }, |
| 536 | "linkId": { |
| 537 | "type": [ |
| 538 | "string", |
| 539 | "null" |
| 540 | ] |
| 541 | }, |
| 542 | "resourceUri": { |
| 543 | "type": [ |
| 544 | "string", |
| 545 | "null" |
| 546 | ] |
| 547 | } |
| 548 | }, |
| 549 | "required": [ |
| 550 | "connectorId" |
| 551 | ], |
| 552 | "type": "object" |
| 553 | }, |
| 554 | "McpToolCallError": { |
| 555 | "properties": { |
| 556 | "message": { |
| 557 | "type": "string" |
| 558 | } |
| 559 | }, |
| 560 | "required": [ |
| 561 | "message" |
| 562 | ], |
| 563 | "type": "object" |
| 564 | }, |
| 565 | "McpToolCallResult": { |
| 566 | "properties": { |
| 567 | "_meta": true, |
| 568 | "content": { |
| 569 | "items": true, |
| 570 | "type": "array" |
| 571 | }, |
| 572 | "structuredContent": true |
| 573 | }, |
| 574 | "required": [ |
| 575 | "content" |
| 576 | ], |
| 577 | "type": "object" |
| 578 | }, |
| 579 | "McpToolCallStatus": { |
| 580 | "enum": [ |
| 581 | "inProgress", |
| 582 | "completed", |
| 583 | "failed" |
| 584 | ], |
| 585 | "type": "string" |
| 586 | }, |
| 587 | "MemoryCitation": { |
| 588 | "properties": { |
| 589 | "entries": { |
| 590 | "items": { |
| 591 | "$ref": "#/definitions/MemoryCitationEntry" |
| 592 | }, |
| 593 | "type": "array" |
| 594 | }, |
| 595 | "threadIds": { |
| 596 | "items": { |
| 597 | "type": "string" |
| 598 | }, |
| 599 | "type": "array" |
| 600 | } |
| 601 | }, |
| 602 | "required": [ |
| 603 | "entries", |
| 604 | "threadIds" |
| 605 | ], |
| 606 | "type": "object" |
| 607 | }, |
| 608 | "MemoryCitationEntry": { |
| 609 | "properties": { |
| 610 | "lineEnd": { |
| 611 | "format": "uint32", |
| 612 | "minimum": 0.0, |
| 613 | "type": "integer" |
| 614 | }, |
| 615 | "lineStart": { |
| 616 | "format": "uint32", |
| 617 | "minimum": 0.0, |
| 618 | "type": "integer" |
| 619 | }, |
| 620 | "note": { |
| 621 | "type": "string" |
| 622 | }, |
| 623 | "path": { |
| 624 | "type": "string" |
| 625 | } |
| 626 | }, |
| 627 | "required": [ |
| 628 | "lineEnd", |
| 629 | "lineStart", |
| 630 | "note", |
| 631 | "path" |
| 632 | ], |
| 633 | "type": "object" |
| 634 | }, |
| 635 | "MessagePhase": { |
| 636 | "oneOf": [ |
| 637 | { |
| 638 | "enum": [ |
| 639 | "commentary" |
| 640 | ], |
| 641 | "type": "string" |
| 642 | }, |
| 643 | { |
| 644 | "enum": [ |
| 645 | "partial_answer" |
| 646 | ], |
| 647 | "type": "string" |
| 648 | }, |
| 649 | { |
| 650 | "enum": [ |
| 651 | "final_answer" |
| 652 | ], |
| 653 | "type": "string" |
| 654 | } |
| 655 | ] |
| 656 | }, |
| 657 | "PatchApplyStatus": { |
| 658 | "enum": [ |
| 659 | "inProgress", |
| 660 | "completed", |
| 661 | "failed", |
| 662 | "declined" |
| 663 | ], |
| 664 | "type": "string" |
| 665 | }, |
| 666 | "PatchChangeKind": { |
| 667 | "oneOf": [ |
| 668 | { |
| 669 | "properties": { |
| 670 | "type": { |
| 671 | "enum": [ |
| 672 | "add" |
| 673 | ], |
| 674 | "type": "string" |
| 675 | } |
| 676 | }, |
| 677 | "required": [ |
| 678 | "type" |
| 679 | ], |
| 680 | "type": "object" |
| 681 | }, |
| 682 | { |
| 683 | "properties": { |
| 684 | "type": { |
| 685 | "enum": [ |
| 686 | "delete" |
| 687 | ], |
| 688 | "type": "string" |
| 689 | } |
| 690 | }, |
| 691 | "required": [ |
| 692 | "type" |
| 693 | ], |
| 694 | "type": "object" |
| 695 | }, |
| 696 | { |
| 697 | "properties": { |
| 698 | "move_path": { |
| 699 | "type": [ |
| 700 | "string", |
| 701 | "null" |
| 702 | ] |
| 703 | }, |
| 704 | "type": { |
| 705 | "enum": [ |
| 706 | "update" |
| 707 | ], |
| 708 | "type": "string" |
| 709 | } |
| 710 | }, |
| 711 | "required": [ |
| 712 | "type" |
| 713 | ], |
| 714 | "type": "object" |
| 715 | } |
| 716 | ] |
| 717 | }, |
| 718 | "ReasoningEffort": { |
| 719 | "minLength": 1, |
| 720 | "type": "string" |
| 721 | }, |
| 722 | "SubAgentActivityKind": { |
| 723 | "enum": [ |
| 724 | "started", |
| 725 | "interacted", |
| 726 | "interrupted", |
| 727 | "completed" |
| 728 | ], |
| 729 | "type": "string" |
| 730 | }, |
| 731 | "TextElement": { |
| 732 | "properties": { |
| 733 | "byteRange": { |
| 734 | "allOf": [ |
| 735 | { |
| 736 | "$ref": "#/definitions/ByteRange" |
| 737 | } |
| 738 | ] |
| 739 | }, |
| 740 | "placeholder": { |
| 741 | "type": [ |
| 742 | "string", |
| 743 | "null" |
| 744 | ] |
| 745 | } |
| 746 | }, |
| 747 | "required": [ |
| 748 | "byteRange" |
| 749 | ], |
| 750 | "type": "object" |
| 751 | }, |
| 752 | "ThreadItem": { |
| 753 | "oneOf": [ |
| 754 | { |
| 755 | "properties": { |
| 756 | "clientId": { |
| 757 | "type": [ |
| 758 | "string", |
| 759 | "null" |
| 760 | ] |
| 761 | }, |
| 762 | "content": { |
| 763 | "items": { |
| 764 | "$ref": "#/definitions/UserInput" |
| 765 | }, |
| 766 | "type": "array" |
| 767 | }, |
| 768 | "id": { |
| 769 | "type": "string" |
| 770 | }, |
| 771 | "type": { |
| 772 | "enum": [ |
| 773 | "userMessage" |
| 774 | ], |
| 775 | "type": "string" |
| 776 | } |
| 777 | }, |
| 778 | "required": [ |
| 779 | "content", |
| 780 | "id", |
| 781 | "type" |
| 782 | ], |
| 783 | "type": "object" |
| 784 | }, |
| 785 | { |
| 786 | "properties": { |
| 787 | "fragments": { |
| 788 | "items": { |
| 789 | "$ref": "#/definitions/HookPromptFragment" |
| 790 | }, |
| 791 | "type": "array" |
| 792 | }, |
| 793 | "id": { |
| 794 | "type": "string" |
| 795 | }, |
| 796 | "type": { |
| 797 | "enum": [ |
| 798 | "hookPrompt" |
| 799 | ], |
| 800 | "type": "string" |
| 801 | } |
| 802 | }, |
| 803 | "required": [ |
| 804 | "fragments", |
| 805 | "id", |
| 806 | "type" |
| 807 | ], |
| 808 | "type": "object" |
| 809 | }, |
| 810 | { |
| 811 | "properties": { |
| 812 | "delivery": { |
| 813 | "anyOf": [ |
| 814 | { |
| 815 | "$ref": "#/definitions/AgentMessageDelivery" |
| 816 | }, |
| 817 | { |
| 818 | "type": "null" |
| 819 | } |
| 820 | ], |
| 821 | "default": null |
| 822 | }, |
| 823 | "id": { |
| 824 | "type": "string" |
| 825 | }, |
| 826 | "memoryCitation": { |
| 827 | "anyOf": [ |
| 828 | { |
| 829 | "$ref": "#/definitions/MemoryCitation" |
| 830 | }, |
| 831 | { |
| 832 | "type": "null" |
| 833 | } |
| 834 | ], |
| 835 | "default": null |
| 836 | }, |
| 837 | "phase": { |
| 838 | "anyOf": [ |
| 839 | { |
| 840 | "$ref": "#/definitions/MessagePhase" |
| 841 | }, |
| 842 | { |
| 843 | "type": "null" |
| 844 | } |
| 845 | ], |
| 846 | "default": null |
| 847 | }, |
| 848 | "questions": { |
| 849 | "default": null, |
| 850 | "items": { |
| 851 | "$ref": "#/definitions/AsyncUserInputQuestion" |
| 852 | }, |
| 853 | "type": [ |
| 854 | "array", |
| 855 | "null" |
| 856 | ] |
| 857 | }, |
| 858 | "text": { |
| 859 | "type": "string" |
| 860 | }, |
| 861 | "type": { |
| 862 | "enum": [ |
| 863 | "agentMessage" |
| 864 | ], |
| 865 | "type": "string" |
| 866 | } |
| 867 | }, |
| 868 | "required": [ |
| 869 | "id", |
| 870 | "text", |
| 871 | "type" |
| 872 | ], |
| 873 | "type": "object" |
| 874 | }, |
| 875 | { |
| 876 | "properties": { |
| 877 | "id": { |
| 878 | "type": "string" |
| 879 | }, |
| 880 | "name": { |
| 881 | "type": "string" |
| 882 | }, |
| 883 | "namespace": { |
| 884 | "type": [ |
| 885 | "string", |
| 886 | "null" |
| 887 | ] |
| 888 | }, |
| 889 | "output": { |
| 890 | "$ref": "#/definitions/FunctionCallOutputBody" |
| 891 | }, |
| 892 | "type": { |
| 893 | "enum": [ |
| 894 | "functionCallOutput" |
| 895 | ], |
| 896 | "type": "string" |
| 897 | } |
| 898 | }, |
| 899 | "required": [ |
| 900 | "id", |
| 901 | "name", |
| 902 | "output", |
| 903 | "type" |
| 904 | ], |
| 905 | "type": "object" |
| 906 | }, |
| 907 | { |
| 908 | "properties": { |
| 909 | "id": { |
| 910 | "type": "string" |
| 911 | }, |
| 912 | "text": { |
| 913 | "type": "string" |
| 914 | }, |
| 915 | "type": { |
| 916 | "enum": [ |
| 917 | "plan" |
| 918 | ], |
| 919 | "type": "string" |
| 920 | } |
| 921 | }, |
| 922 | "required": [ |
| 923 | "id", |
| 924 | "text", |
| 925 | "type" |
| 926 | ], |
| 927 | "type": "object" |
| 928 | }, |
| 929 | { |
| 930 | "properties": { |
| 931 | "content": { |
| 932 | "default": [], |
| 933 | "items": { |
| 934 | "type": "string" |
| 935 | }, |
| 936 | "type": "array" |
| 937 | }, |
| 938 | "id": { |
| 939 | "type": "string" |
| 940 | }, |
| 941 | "summary": { |
| 942 | "default": [], |
| 943 | "items": { |
| 944 | "type": "string" |
| 945 | }, |
| 946 | "type": "array" |
| 947 | }, |
| 948 | "type": { |
| 949 | "enum": [ |
| 950 | "reasoning" |
| 951 | ], |
| 952 | "type": "string" |
| 953 | } |
| 954 | }, |
| 955 | "required": [ |
| 956 | "id", |
| 957 | "type" |
| 958 | ], |
| 959 | "type": "object" |
| 960 | }, |
| 961 | { |
| 962 | "properties": { |
| 963 | "aggregatedOutput": { |
| 964 | "type": [ |
| 965 | "string", |
| 966 | "null" |
| 967 | ] |
| 968 | }, |
| 969 | "command": { |
| 970 | "type": "string" |
| 971 | }, |
| 972 | "commandActions": { |
| 973 | "items": { |
| 974 | "$ref": "#/definitions/CommandAction" |
| 975 | }, |
| 976 | "type": "array" |
| 977 | }, |
| 978 | "cwd": { |
| 979 | "allOf": [ |
| 980 | { |
| 981 | "$ref": "#/definitions/LegacyAppPathString" |
| 982 | } |
| 983 | ] |
| 984 | }, |
| 985 | "durationMs": { |
| 986 | "format": "int64", |
| 987 | "type": [ |
| 988 | "integer", |
| 989 | "null" |
| 990 | ] |
| 991 | }, |
| 992 | "exitCode": { |
| 993 | "format": "int32", |
| 994 | "type": [ |
| 995 | "integer", |
| 996 | "null" |
| 997 | ] |
| 998 | }, |
| 999 | "id": { |
| 1000 | "type": "string" |
| 1001 | }, |
| 1002 | "pluginId": { |
| 1003 | "default": null, |
| 1004 | "type": [ |
| 1005 | "string", |
| 1006 | "null" |
| 1007 | ] |
| 1008 | }, |
| 1009 | "processId": { |
| 1010 | "type": [ |
| 1011 | "string", |
| 1012 | "null" |
| 1013 | ] |
| 1014 | }, |
| 1015 | "scriptPath": { |
| 1016 | "default": null, |
| 1017 | "type": [ |
| 1018 | "string", |
| 1019 | "null" |
| 1020 | ] |
| 1021 | }, |
| 1022 | "source": { |
| 1023 | "allOf": [ |
| 1024 | { |
| 1025 | "$ref": "#/definitions/CommandExecutionSource" |
| 1026 | } |
| 1027 | ], |
| 1028 | "default": "agent" |
| 1029 | }, |
| 1030 | "status": { |
| 1031 | "$ref": "#/definitions/CommandExecutionStatus" |
| 1032 | }, |
| 1033 | "type": { |
| 1034 | "enum": [ |
| 1035 | "commandExecution" |
| 1036 | ], |
| 1037 | "type": "string" |
| 1038 | } |
| 1039 | }, |
| 1040 | "required": [ |
| 1041 | "command", |
| 1042 | "commandActions", |
| 1043 | "cwd", |
| 1044 | "id", |
| 1045 | "status", |
| 1046 | "type" |
| 1047 | ], |
| 1048 | "type": "object" |
| 1049 | }, |
| 1050 | { |
| 1051 | "properties": { |
| 1052 | "changes": { |
| 1053 | "items": { |
| 1054 | "$ref": "#/definitions/FileUpdateChange" |
| 1055 | }, |
| 1056 | "type": "array" |
| 1057 | }, |
| 1058 | "id": { |
| 1059 | "type": "string" |
| 1060 | }, |
| 1061 | "status": { |
| 1062 | "$ref": "#/definitions/PatchApplyStatus" |
| 1063 | }, |
| 1064 | "type": { |
| 1065 | "enum": [ |
| 1066 | "fileChange" |
| 1067 | ], |
| 1068 | "type": "string" |
| 1069 | } |
| 1070 | }, |
| 1071 | "required": [ |
| 1072 | "changes", |
| 1073 | "id", |
| 1074 | "status", |
| 1075 | "type" |
| 1076 | ], |
| 1077 | "type": "object" |
| 1078 | }, |
| 1079 | { |
| 1080 | "properties": { |
| 1081 | "appContext": { |
| 1082 | "anyOf": [ |
| 1083 | { |
| 1084 | "$ref": "#/definitions/McpToolCallAppContext" |
| 1085 | }, |
| 1086 | { |
| 1087 | "type": "null" |
| 1088 | } |
| 1089 | ] |
| 1090 | }, |
| 1091 | "arguments": true, |
| 1092 | "durationMs": { |
| 1093 | "format": "int64", |
| 1094 | "type": [ |
| 1095 | "integer", |
| 1096 | "null" |
| 1097 | ] |
| 1098 | }, |
| 1099 | "error": { |
| 1100 | "anyOf": [ |
| 1101 | { |
| 1102 | "$ref": "#/definitions/McpToolCallError" |
| 1103 | }, |
| 1104 | { |
| 1105 | "type": "null" |
| 1106 | } |
| 1107 | ] |
| 1108 | }, |
| 1109 | "id": { |
| 1110 | "type": "string" |
| 1111 | }, |
| 1112 | "mcpAppResourceUri": { |
| 1113 | "type": [ |
| 1114 | "string", |
| 1115 | "null" |
| 1116 | ] |
| 1117 | }, |
| 1118 | "mcpAppUi": { |
| 1119 | "anyOf": [ |
| 1120 | { |
| 1121 | "$ref": "#/definitions/McpAppUi" |
| 1122 | }, |
| 1123 | { |
| 1124 | "type": "null" |
| 1125 | } |
| 1126 | ] |
| 1127 | }, |
| 1128 | "pluginId": { |
| 1129 | "type": [ |
| 1130 | "string", |
| 1131 | "null" |
| 1132 | ] |
| 1133 | }, |
| 1134 | "readOnlyHint": { |
| 1135 | "type": [ |
| 1136 | "boolean", |
| 1137 | "null" |
| 1138 | ] |
| 1139 | }, |
| 1140 | "result": { |
| 1141 | "anyOf": [ |
| 1142 | { |
| 1143 | "$ref": "#/definitions/McpToolCallResult" |
| 1144 | }, |
| 1145 | { |
| 1146 | "type": "null" |
| 1147 | } |
| 1148 | ] |
| 1149 | }, |
| 1150 | "server": { |
| 1151 | "type": "string" |
| 1152 | }, |
| 1153 | "status": { |
| 1154 | "$ref": "#/definitions/McpToolCallStatus" |
| 1155 | }, |
| 1156 | "tool": { |
| 1157 | "type": "string" |
| 1158 | }, |
| 1159 | "type": { |
| 1160 | "enum": [ |
| 1161 | "mcpToolCall" |
| 1162 | ], |
| 1163 | "type": "string" |
| 1164 | } |
| 1165 | }, |
| 1166 | "required": [ |
| 1167 | "arguments", |
| 1168 | "id", |
| 1169 | "server", |
| 1170 | "status", |
| 1171 | "tool", |
| 1172 | "type" |
| 1173 | ], |
| 1174 | "type": "object" |
| 1175 | }, |
| 1176 | { |
| 1177 | "properties": { |
| 1178 | "arguments": true, |
| 1179 | "contentItems": { |
| 1180 | "items": { |
| 1181 | "$ref": "#/definitions/DynamicToolCallOutputContentItem" |
| 1182 | }, |
| 1183 | "type": [ |
| 1184 | "array", |
| 1185 | "null" |
| 1186 | ] |
| 1187 | }, |
| 1188 | "durationMs": { |
| 1189 | "format": "int64", |
| 1190 | "type": [ |
| 1191 | "integer", |
| 1192 | "null" |
| 1193 | ] |
| 1194 | }, |
| 1195 | "id": { |
| 1196 | "type": "string" |
| 1197 | }, |
| 1198 | "namespace": { |
| 1199 | "type": [ |
| 1200 | "string", |
| 1201 | "null" |
| 1202 | ] |
| 1203 | }, |
| 1204 | "status": { |
| 1205 | "$ref": "#/definitions/DynamicToolCallStatus" |
| 1206 | }, |
| 1207 | "success": { |
| 1208 | "type": [ |
| 1209 | "boolean", |
| 1210 | "null" |
| 1211 | ] |
| 1212 | }, |
| 1213 | "tool": { |
| 1214 | "type": "string" |
| 1215 | }, |
| 1216 | "type": { |
| 1217 | "enum": [ |
| 1218 | "dynamicToolCall" |
| 1219 | ], |
| 1220 | "type": "string" |
| 1221 | } |
| 1222 | }, |
| 1223 | "required": [ |
| 1224 | "arguments", |
| 1225 | "id", |
| 1226 | "status", |
| 1227 | "tool", |
| 1228 | "type" |
| 1229 | ], |
| 1230 | "type": "object" |
| 1231 | }, |
| 1232 | { |
| 1233 | "properties": { |
| 1234 | "agentsStates": { |
| 1235 | "additionalProperties": { |
| 1236 | "$ref": "#/definitions/CollabAgentState" |
| 1237 | }, |
| 1238 | "type": "object" |
| 1239 | }, |
| 1240 | "id": { |
| 1241 | "type": "string" |
| 1242 | }, |
| 1243 | "model": { |
| 1244 | "type": [ |
| 1245 | "string", |
| 1246 | "null" |
| 1247 | ] |
| 1248 | }, |
| 1249 | "prompt": { |
| 1250 | "type": [ |
| 1251 | "string", |
| 1252 | "null" |
| 1253 | ] |
| 1254 | }, |
| 1255 | "reasoningEffort": { |
| 1256 | "anyOf": [ |
| 1257 | { |
| 1258 | "$ref": "#/definitions/ReasoningEffort" |
| 1259 | }, |
| 1260 | { |
| 1261 | "type": "null" |
| 1262 | } |
| 1263 | ] |
| 1264 | }, |
| 1265 | "receiverThreadIds": { |
| 1266 | "items": { |
| 1267 | "type": "string" |
| 1268 | }, |
| 1269 | "type": "array" |
| 1270 | }, |
| 1271 | "senderThreadId": { |
| 1272 | "type": "string" |
| 1273 | }, |
| 1274 | "status": { |
| 1275 | "allOf": [ |
| 1276 | { |
| 1277 | "$ref": "#/definitions/CollabAgentToolCallStatus" |
| 1278 | } |
| 1279 | ] |
| 1280 | }, |
| 1281 | "tool": { |
| 1282 | "allOf": [ |
| 1283 | { |
| 1284 | "$ref": "#/definitions/CollabAgentTool" |
| 1285 | } |
| 1286 | ] |
| 1287 | }, |
| 1288 | "type": { |
| 1289 | "enum": [ |
| 1290 | "collabAgentToolCall" |
| 1291 | ], |
| 1292 | "type": "string" |
| 1293 | } |
| 1294 | }, |
| 1295 | "required": [ |
| 1296 | "agentsStates", |
| 1297 | "id", |
| 1298 | "receiverThreadIds", |
| 1299 | "senderThreadId", |
| 1300 | "status", |
| 1301 | "tool", |
| 1302 | "type" |
| 1303 | ], |
| 1304 | "type": "object" |
| 1305 | }, |
| 1306 | { |
| 1307 | "properties": { |
| 1308 | "agentPath": { |
| 1309 | "type": "string" |
| 1310 | }, |
| 1311 | "agentThreadId": { |
| 1312 | "type": "string" |
| 1313 | }, |
| 1314 | "id": { |
| 1315 | "type": "string" |
| 1316 | }, |
| 1317 | "kind": { |
| 1318 | "$ref": "#/definitions/SubAgentActivityKind" |
| 1319 | }, |
| 1320 | "model": { |
| 1321 | "type": [ |
| 1322 | "string", |
| 1323 | "null" |
| 1324 | ] |
| 1325 | }, |
| 1326 | "reasoningEffort": { |
| 1327 | "anyOf": [ |
| 1328 | { |
| 1329 | "$ref": "#/definitions/ReasoningEffort" |
| 1330 | }, |
| 1331 | { |
| 1332 | "type": "null" |
| 1333 | } |
| 1334 | ] |
| 1335 | }, |
| 1336 | "type": { |
| 1337 | "enum": [ |
| 1338 | "subAgentActivity" |
| 1339 | ], |
| 1340 | "type": "string" |
| 1341 | } |
| 1342 | }, |
| 1343 | "required": [ |
| 1344 | "agentPath", |
| 1345 | "agentThreadId", |
| 1346 | "id", |
| 1347 | "kind", |
| 1348 | "type" |
| 1349 | ], |
| 1350 | "type": "object" |
| 1351 | }, |
| 1352 | { |
| 1353 | "properties": { |
| 1354 | "action": { |
| 1355 | "anyOf": [ |
| 1356 | { |
| 1357 | "$ref": "#/definitions/WebSearchAction" |
| 1358 | }, |
| 1359 | { |
| 1360 | "type": "null" |
| 1361 | } |
| 1362 | ] |
| 1363 | }, |
| 1364 | "id": { |
| 1365 | "type": "string" |
| 1366 | }, |
| 1367 | "query": { |
| 1368 | "type": "string" |
| 1369 | }, |
| 1370 | "results": { |
| 1371 | "default": null, |
| 1372 | "items": true, |
| 1373 | "type": [ |
| 1374 | "array", |
| 1375 | "null" |
| 1376 | ] |
| 1377 | }, |
| 1378 | "type": { |
| 1379 | "enum": [ |
| 1380 | "webSearch" |
| 1381 | ], |
| 1382 | "type": "string" |
| 1383 | } |
| 1384 | }, |
| 1385 | "required": [ |
| 1386 | "id", |
| 1387 | "query", |
| 1388 | "type" |
| 1389 | ], |
| 1390 | "type": "object" |
| 1391 | }, |
| 1392 | { |
| 1393 | "properties": { |
| 1394 | "id": { |
| 1395 | "type": "string" |
| 1396 | }, |
| 1397 | "path": { |
| 1398 | "$ref": "#/definitions/LegacyAppPathString" |
| 1399 | }, |
| 1400 | "type": { |
| 1401 | "enum": [ |
| 1402 | "imageView" |
| 1403 | ], |
| 1404 | "type": "string" |
| 1405 | } |
| 1406 | }, |
| 1407 | "required": [ |
| 1408 | "id", |
| 1409 | "path", |
| 1410 | "type" |
| 1411 | ], |
| 1412 | "type": "object" |
| 1413 | }, |
| 1414 | { |
| 1415 | "properties": { |
| 1416 | "durationMs": { |
| 1417 | "format": "uint64", |
| 1418 | "minimum": 0.0, |
| 1419 | "type": "integer" |
| 1420 | }, |
| 1421 | "id": { |
| 1422 | "type": "string" |
| 1423 | }, |
| 1424 | "type": { |
| 1425 | "enum": [ |
| 1426 | "sleep" |
| 1427 | ], |
| 1428 | "type": "string" |
| 1429 | } |
| 1430 | }, |
| 1431 | "required": [ |
| 1432 | "durationMs", |
| 1433 | "id", |
| 1434 | "type" |
| 1435 | ], |
| 1436 | "type": "object" |
| 1437 | }, |
| 1438 | { |
| 1439 | "anyOf": [ |
| 1440 | { |
| 1441 | "properties": { |
| 1442 | "fileId": { |
| 1443 | "type": "string" |
| 1444 | } |
| 1445 | }, |
| 1446 | "required": [ |
| 1447 | "fileId" |
| 1448 | ], |
| 1449 | "type": "object" |
| 1450 | }, |
| 1451 | { |
| 1452 | "properties": { |
| 1453 | "result": { |
| 1454 | "type": "string" |
| 1455 | } |
| 1456 | }, |
| 1457 | "required": [ |
| 1458 | "result" |
| 1459 | ], |
| 1460 | "type": "object" |
| 1461 | } |
| 1462 | ], |
| 1463 | "properties": { |
| 1464 | "failure": { |
| 1465 | "anyOf": [ |
| 1466 | { |
| 1467 | "$ref": "#/definitions/ImageGenerationFailure" |
| 1468 | }, |
| 1469 | { |
| 1470 | "type": "null" |
| 1471 | } |
| 1472 | ], |
| 1473 | "default": null |
| 1474 | }, |
| 1475 | "id": { |
| 1476 | "type": "string" |
| 1477 | }, |
| 1478 | "inputImages": { |
| 1479 | "items": { |
| 1480 | "$ref": "#/definitions/ImageGenerationInputImage" |
| 1481 | }, |
| 1482 | "type": "array" |
| 1483 | }, |
| 1484 | "revisedPrompt": { |
| 1485 | "type": [ |
| 1486 | "string", |
| 1487 | "null" |
| 1488 | ] |
| 1489 | }, |
| 1490 | "savedPath": { |
| 1491 | "anyOf": [ |
| 1492 | { |
| 1493 | "$ref": "#/definitions/AbsolutePathBuf" |
| 1494 | }, |
| 1495 | { |
| 1496 | "type": "null" |
| 1497 | } |
| 1498 | ] |
| 1499 | }, |
| 1500 | "status": { |
| 1501 | "type": "string" |
| 1502 | }, |
| 1503 | "transparentBackground": { |
| 1504 | "default": null, |
| 1505 | "type": [ |
| 1506 | "boolean", |
| 1507 | "null" |
| 1508 | ] |
| 1509 | }, |
| 1510 | "type": { |
| 1511 | "enum": [ |
| 1512 | "imageGeneration" |
| 1513 | ], |
| 1514 | "type": "string" |
| 1515 | } |
| 1516 | }, |
| 1517 | "required": [ |
| 1518 | "id", |
| 1519 | "status", |
| 1520 | "type" |
| 1521 | ], |
| 1522 | "type": "object" |
| 1523 | }, |
| 1524 | { |
| 1525 | "properties": { |
| 1526 | "id": { |
| 1527 | "type": "string" |
| 1528 | }, |
| 1529 | "review": { |
| 1530 | "type": "string" |
| 1531 | }, |
| 1532 | "type": { |
| 1533 | "enum": [ |
| 1534 | "enteredReviewMode" |
| 1535 | ], |
| 1536 | "type": "string" |
| 1537 | } |
| 1538 | }, |
| 1539 | "required": [ |
| 1540 | "id", |
| 1541 | "review", |
| 1542 | "type" |
| 1543 | ], |
| 1544 | "type": "object" |
| 1545 | }, |
| 1546 | { |
| 1547 | "properties": { |
| 1548 | "id": { |
| 1549 | "type": "string" |
| 1550 | }, |
| 1551 | "review": { |
| 1552 | "type": "string" |
| 1553 | }, |
| 1554 | "type": { |
| 1555 | "enum": [ |
| 1556 | "exitedReviewMode" |
| 1557 | ], |
| 1558 | "type": "string" |
| 1559 | } |
| 1560 | }, |
| 1561 | "required": [ |
| 1562 | "id", |
| 1563 | "review", |
| 1564 | "type" |
| 1565 | ], |
| 1566 | "type": "object" |
| 1567 | }, |
| 1568 | { |
| 1569 | "properties": { |
| 1570 | "id": { |
| 1571 | "type": "string" |
| 1572 | }, |
| 1573 | "type": { |
| 1574 | "enum": [ |
| 1575 | "contextCompaction" |
| 1576 | ], |
| 1577 | "type": "string" |
| 1578 | } |
| 1579 | }, |
| 1580 | "required": [ |
| 1581 | "id", |
| 1582 | "type" |
| 1583 | ], |
| 1584 | "type": "object" |
| 1585 | } |
| 1586 | ] |
| 1587 | }, |
| 1588 | "UserInput": { |
| 1589 | "oneOf": [ |
| 1590 | { |
| 1591 | "properties": { |
| 1592 | "text": { |
| 1593 | "type": "string" |
| 1594 | }, |
| 1595 | "text_elements": { |
| 1596 | "default": [], |
| 1597 | "items": { |
| 1598 | "$ref": "#/definitions/TextElement" |
| 1599 | }, |
| 1600 | "type": "array" |
| 1601 | }, |
| 1602 | "type": { |
| 1603 | "enum": [ |
| 1604 | "text" |
| 1605 | ], |
| 1606 | "type": "string" |
| 1607 | } |
| 1608 | }, |
| 1609 | "required": [ |
| 1610 | "text", |
| 1611 | "type" |
| 1612 | ], |
| 1613 | "type": "object" |
| 1614 | }, |
| 1615 | { |
| 1616 | "anyOf": [ |
| 1617 | { |
| 1618 | "properties": { |
| 1619 | "url": { |
| 1620 | "type": "string" |
| 1621 | } |
| 1622 | }, |
| 1623 | "required": [ |
| 1624 | "url" |
| 1625 | ], |
| 1626 | "type": "object" |
| 1627 | }, |
| 1628 | { |
| 1629 | "properties": { |
| 1630 | "fileId": { |
| 1631 | "type": "string" |
| 1632 | } |
| 1633 | }, |
| 1634 | "required": [ |
| 1635 | "fileId" |
| 1636 | ], |
| 1637 | "type": "object" |
| 1638 | } |
| 1639 | ], |
| 1640 | "properties": { |
| 1641 | "detail": { |
| 1642 | "anyOf": [ |
| 1643 | { |
| 1644 | "$ref": "#/definitions/ImageDetail" |
| 1645 | }, |
| 1646 | { |
| 1647 | "type": "null" |
| 1648 | } |
| 1649 | ], |
| 1650 | "default": null |
| 1651 | }, |
| 1652 | "type": { |
| 1653 | "enum": [ |
| 1654 | "image" |
| 1655 | ], |
| 1656 | "type": "string" |
| 1657 | } |
| 1658 | }, |
| 1659 | "required": [ |
| 1660 | "type" |
| 1661 | ], |
| 1662 | "type": "object" |
| 1663 | }, |
| 1664 | { |
| 1665 | "properties": { |
| 1666 | "detail": { |
| 1667 | "anyOf": [ |
| 1668 | { |
| 1669 | "$ref": "#/definitions/ImageDetail" |
| 1670 | }, |
| 1671 | { |
| 1672 | "type": "null" |
| 1673 | } |
| 1674 | ], |
| 1675 | "default": null |
| 1676 | }, |
| 1677 | "path": { |
| 1678 | "type": "string" |
| 1679 | }, |
| 1680 | "type": { |
| 1681 | "enum": [ |
| 1682 | "localImage" |
| 1683 | ], |
| 1684 | "type": "string" |
| 1685 | } |
| 1686 | }, |
| 1687 | "required": [ |
| 1688 | "path", |
| 1689 | "type" |
| 1690 | ], |
| 1691 | "type": "object" |
| 1692 | }, |
| 1693 | { |
| 1694 | "properties": { |
| 1695 | "type": { |
| 1696 | "enum": [ |
| 1697 | "audio" |
| 1698 | ], |
| 1699 | "type": "string" |
| 1700 | }, |
| 1701 | "url": { |
| 1702 | "type": "string" |
| 1703 | } |
| 1704 | }, |
| 1705 | "required": [ |
| 1706 | "type", |
| 1707 | "url" |
| 1708 | ], |
| 1709 | "type": "object" |
| 1710 | }, |
| 1711 | { |
| 1712 | "properties": { |
| 1713 | "path": { |
| 1714 | "type": "string" |
| 1715 | }, |
| 1716 | "type": { |
| 1717 | "enum": [ |
| 1718 | "localAudio" |
| 1719 | ], |
| 1720 | "type": "string" |
| 1721 | } |
| 1722 | }, |
| 1723 | "required": [ |
| 1724 | "path", |
| 1725 | "type" |
| 1726 | ], |
| 1727 | "type": "object" |
| 1728 | }, |
| 1729 | { |
| 1730 | "properties": { |
| 1731 | "name": { |
| 1732 | "type": "string" |
| 1733 | }, |
| 1734 | "path": { |
| 1735 | "type": "string" |
| 1736 | }, |
| 1737 | "type": { |
| 1738 | "enum": [ |
| 1739 | "skill" |
| 1740 | ], |
| 1741 | "type": "string" |
| 1742 | } |
| 1743 | }, |
| 1744 | "required": [ |
| 1745 | "name", |
| 1746 | "path", |
| 1747 | "type" |
| 1748 | ], |
| 1749 | "type": "object" |
| 1750 | }, |
| 1751 | { |
| 1752 | "properties": { |
| 1753 | "name": { |
| 1754 | "type": "string" |
| 1755 | }, |
| 1756 | "path": { |
| 1757 | "type": "string" |
| 1758 | }, |
| 1759 | "type": { |
| 1760 | "enum": [ |
| 1761 | "mention" |
| 1762 | ], |
| 1763 | "type": "string" |
| 1764 | } |
| 1765 | }, |
| 1766 | "required": [ |
| 1767 | "name", |
| 1768 | "path", |
| 1769 | "type" |
| 1770 | ], |
| 1771 | "type": "object" |
| 1772 | } |
| 1773 | ] |
| 1774 | }, |
| 1775 | "WebSearchAction": { |
| 1776 | "oneOf": [ |
| 1777 | { |
| 1778 | "properties": { |
| 1779 | "queries": { |
| 1780 | "items": { |
| 1781 | "type": "string" |
| 1782 | }, |
| 1783 | "type": [ |
| 1784 | "array", |
| 1785 | "null" |
| 1786 | ] |
| 1787 | }, |
| 1788 | "query": { |
| 1789 | "type": [ |
| 1790 | "string", |
| 1791 | "null" |
| 1792 | ] |
| 1793 | }, |
| 1794 | "type": { |
| 1795 | "enum": [ |
| 1796 | "search" |
| 1797 | ], |
| 1798 | "type": "string" |
| 1799 | } |
| 1800 | }, |
| 1801 | "required": [ |
| 1802 | "type" |
| 1803 | ], |
| 1804 | "type": "object" |
| 1805 | }, |
| 1806 | { |
| 1807 | "properties": { |
| 1808 | "type": { |
| 1809 | "enum": [ |
| 1810 | "openPage" |
| 1811 | ], |
| 1812 | "type": "string" |
| 1813 | }, |
| 1814 | "url": { |
| 1815 | "type": [ |
| 1816 | "string", |
| 1817 | "null" |
| 1818 | ] |
| 1819 | } |
| 1820 | }, |
| 1821 | "required": [ |
| 1822 | "type" |
| 1823 | ], |
| 1824 | "type": "object" |
| 1825 | }, |
| 1826 | { |
| 1827 | "properties": { |
| 1828 | "pattern": { |
| 1829 | "type": [ |
| 1830 | "string", |
| 1831 | "null" |
| 1832 | ] |
| 1833 | }, |
| 1834 | "type": { |
| 1835 | "enum": [ |
| 1836 | "findInPage" |
| 1837 | ], |
| 1838 | "type": "string" |
| 1839 | }, |
| 1840 | "url": { |
| 1841 | "type": [ |
| 1842 | "string", |
| 1843 | "null" |
| 1844 | ] |
| 1845 | } |
| 1846 | }, |
| 1847 | "required": [ |
| 1848 | "type" |
| 1849 | ], |
| 1850 | "type": "object" |
| 1851 | }, |
| 1852 | { |
| 1853 | "properties": { |
| 1854 | "type": { |
| 1855 | "enum": [ |
| 1856 | "other" |
| 1857 | ], |
| 1858 | "type": "string" |
| 1859 | } |
| 1860 | }, |
| 1861 | "required": [ |
| 1862 | "type" |
| 1863 | ], |
| 1864 | "type": "object" |
| 1865 | } |
| 1866 | ] |
| 1867 | } |
| 1868 | }, |
| 1869 | "properties": { |
| 1870 | "completedAtMs": { |
| 1871 | "format": "int64", |
| 1872 | "type": "integer" |
| 1873 | }, |
| 1874 | "item": { |
| 1875 | "$ref": "#/definitions/ThreadItem" |
| 1876 | }, |
| 1877 | "threadId": { |
| 1878 | "type": "string" |
| 1879 | }, |
| 1880 | "turnId": { |
| 1881 | "type": "string" |
| 1882 | } |
| 1883 | }, |
| 1884 | "required": [ |
| 1885 | "completedAtMs", |
| 1886 | "item", |
| 1887 | "threadId", |
| 1888 | "turnId" |
| 1889 | ], |
| 1890 | "type": "object" |
| 1891 | } |
| 1892 | |