| 1 | { |
| 2 | "$schema": "https://json-schema.org/draft/2020-12/schema", |
| 3 | "$defs": { |
| 4 | "RuntimeImageInput": { |
| 5 | "type": "object", |
| 6 | "additionalProperties": false, |
| 7 | "properties": { |
| 8 | "mime": { |
| 9 | "type": "string" |
| 10 | }, |
| 11 | "dataBase64": { |
| 12 | "type": "string" |
| 13 | } |
| 14 | }, |
| 15 | "required": [ |
| 16 | "mime", |
| 17 | "dataBase64" |
| 18 | ], |
| 19 | "description": "Inline bytes only: neither host paths nor remote URLs confer attachment authority." |
| 20 | }, |
| 21 | "ThreadLoadedListParams": { |
| 22 | "type": "object", |
| 23 | "properties": { |
| 24 | "cursor": { |
| 25 | "type": [ |
| 26 | "string", |
| 27 | "null" |
| 28 | ] |
| 29 | }, |
| 30 | "limit": { |
| 31 | "type": [ |
| 32 | "integer", |
| 33 | "null" |
| 34 | ], |
| 35 | "format": "uint32", |
| 36 | "minimum": 0 |
| 37 | } |
| 38 | } |
| 39 | }, |
| 40 | "ThreadSetNameParams": { |
| 41 | "type": "object", |
| 42 | "properties": { |
| 43 | "threadId": { |
| 44 | "type": "string" |
| 45 | }, |
| 46 | "name": { |
| 47 | "type": "string" |
| 48 | } |
| 49 | }, |
| 50 | "required": [ |
| 51 | "threadId", |
| 52 | "name" |
| 53 | ] |
| 54 | }, |
| 55 | "DynamicToolSpec": { |
| 56 | "type": "object", |
| 57 | "properties": { |
| 58 | "namespace": { |
| 59 | "type": [ |
| 60 | "string", |
| 61 | "null" |
| 62 | ], |
| 63 | "description": "Optional namespace that groups related tools (e.g. `\"tau_bench\"`).\nWhen present, the runtime may expose the tool as\n`<namespace>::<name>` to the model." |
| 64 | }, |
| 65 | "name": { |
| 66 | "type": "string", |
| 67 | "description": "Short tool name. Combined with `namespace` it forms a unique tool id." |
| 68 | }, |
| 69 | "description": { |
| 70 | "type": "string", |
| 71 | "description": "Human-readable description exposed to the model." |
| 72 | }, |
| 73 | "input_schema": { |
| 74 | "description": "JSON Schema describing the tool's input parameters." |
| 75 | }, |
| 76 | "defer_loading": { |
| 77 | "type": "boolean", |
| 78 | "description": "If true, the runtime may defer schema validation / tool loading until\nthe model actually calls the tool.\n\nDefaults to `false` so that older clients omitting this field still\nbehave the same way.", |
| 79 | "default": false |
| 80 | } |
| 81 | }, |
| 82 | "required": [ |
| 83 | "name", |
| 84 | "description", |
| 85 | "input_schema" |
| 86 | ], |
| 87 | "description": "Specification for a dynamic external tool registered by a runtime client.\n\nExample JSON from the spec:\n\n```json\n{\n \"namespace\": \"tau_bench\",\n \"name\": \"get_reservation\",\n \"description\": \"Look up an airline reservation.\",\n \"input_schema\": {\n \"type\": \"object\",\n \"properties\": {\n \"reservation_id\": { \"type\": \"string\" }\n },\n \"required\": [\"reservation_id\"],\n \"additionalProperties\": false\n }\n}\n```" |
| 88 | }, |
| 89 | "DynamicToolItemStatus": { |
| 90 | "type": "string", |
| 91 | "enum": [ |
| 92 | "in_progress", |
| 93 | "completed", |
| 94 | "failed" |
| 95 | ], |
| 96 | "description": "Lifecycle status of a dynamic tool item shown in thread detail and event\npayloads." |
| 97 | }, |
| 98 | "DynamicToolCallResult": { |
| 99 | "type": "object", |
| 100 | "properties": { |
| 101 | "success": { |
| 102 | "type": "boolean", |
| 103 | "description": "Whether the client-side tool execution succeeded." |
| 104 | }, |
| 105 | "content": { |
| 106 | "type": "array", |
| 107 | "items": { |
| 108 | "$ref": "#/$defs/DynamicToolCallContent" |
| 109 | }, |
| 110 | "description": "Content fragments returned by the tool.\n\nDefaults to an empty vector when omitted so clients can send a minimal\n`{ \"success\": false }` payload.", |
| 111 | "default": [] |
| 112 | } |
| 113 | }, |
| 114 | "required": [ |
| 115 | "success" |
| 116 | ], |
| 117 | "description": "Result submitted by a runtime client after executing a dynamic tool." |
| 118 | }, |
| 119 | "DynamicToolCallContent": { |
| 120 | "oneOf": [ |
| 121 | { |
| 122 | "type": "object", |
| 123 | "properties": { |
| 124 | "text": { |
| 125 | "type": "string" |
| 126 | }, |
| 127 | "type": { |
| 128 | "type": "string", |
| 129 | "const": "input_text" |
| 130 | } |
| 131 | }, |
| 132 | "required": [ |
| 133 | "type", |
| 134 | "text" |
| 135 | ] |
| 136 | }, |
| 137 | { |
| 138 | "type": "object", |
| 139 | "properties": { |
| 140 | "image_url": { |
| 141 | "type": "string" |
| 142 | }, |
| 143 | "type": { |
| 144 | "type": "string", |
| 145 | "const": "input_image" |
| 146 | } |
| 147 | }, |
| 148 | "required": [ |
| 149 | "type", |
| 150 | "image_url" |
| 151 | ] |
| 152 | } |
| 153 | ], |
| 154 | "description": "A single content fragment inside a [`DynamicToolCallResult`]." |
| 155 | }, |
| 156 | "TurnEnvironmentParams": { |
| 157 | "type": "object", |
| 158 | "properties": { |
| 159 | "environment_id": { |
| 160 | "type": "string" |
| 161 | }, |
| 162 | "cwd": { |
| 163 | "type": "string" |
| 164 | } |
| 165 | }, |
| 166 | "required": [ |
| 167 | "environment_id", |
| 168 | "cwd" |
| 169 | ], |
| 170 | "description": "Environment target selected for a turn's shell/filesystem work.\n\nExample JSON:\n\n```json\n{\n \"environment_id\": \"local\",\n \"cwd\": \"/workspace\"\n}\n```" |
| 171 | }, |
| 172 | "RuntimeEventEnvelope": { |
| 173 | "type": "object", |
| 174 | "properties": { |
| 175 | "schema_version": { |
| 176 | "type": "integer", |
| 177 | "format": "uint32", |
| 178 | "minimum": 0, |
| 179 | "default": 1 |
| 180 | }, |
| 181 | "seq": { |
| 182 | "type": "integer", |
| 183 | "format": "uint64", |
| 184 | "minimum": 0 |
| 185 | }, |
| 186 | "event": { |
| 187 | "type": "string" |
| 188 | }, |
| 189 | "kind": { |
| 190 | "type": "string" |
| 191 | }, |
| 192 | "thread_id": { |
| 193 | "type": "string" |
| 194 | }, |
| 195 | "turn_id": { |
| 196 | "type": [ |
| 197 | "string", |
| 198 | "null" |
| 199 | ] |
| 200 | }, |
| 201 | "item_id": { |
| 202 | "type": [ |
| 203 | "string", |
| 204 | "null" |
| 205 | ] |
| 206 | }, |
| 207 | "timestamp": { |
| 208 | "type": "string" |
| 209 | }, |
| 210 | "created_at": { |
| 211 | "type": "string" |
| 212 | }, |
| 213 | "payload": true |
| 214 | }, |
| 215 | "required": [ |
| 216 | "schema_version", |
| 217 | "seq", |
| 218 | "event", |
| 219 | "kind", |
| 220 | "thread_id", |
| 221 | "turn_id", |
| 222 | "item_id", |
| 223 | "timestamp", |
| 224 | "payload" |
| 225 | ], |
| 226 | "additionalProperties": true |
| 227 | }, |
| 228 | "ThreadLoadedListResponse": { |
| 229 | "type": "object", |
| 230 | "properties": { |
| 231 | "data": { |
| 232 | "type": "array", |
| 233 | "items": { |
| 234 | "type": "string" |
| 235 | } |
| 236 | }, |
| 237 | "nextCursor": { |
| 238 | "type": [ |
| 239 | "string", |
| 240 | "null" |
| 241 | ] |
| 242 | } |
| 243 | }, |
| 244 | "required": [ |
| 245 | "data", |
| 246 | "nextCursor" |
| 247 | ] |
| 248 | }, |
| 249 | "ThreadSetNameResponse": { |
| 250 | "type": "object", |
| 251 | "additionalProperties": false |
| 252 | }, |
| 253 | "RuntimeCapabilities": { |
| 254 | "type": "object", |
| 255 | "properties": { |
| 256 | "client_token_intents": { |
| 257 | "type": "boolean", |
| 258 | "description": "Device client tokens have immutable watch/drive intent. Watch cannot\nmutate Runtime state, acquire control, or forward display input.", |
| 259 | "default": false |
| 260 | }, |
| 261 | "account_session": { |
| 262 | "type": "boolean", |
| 263 | "default": false |
| 264 | }, |
| 265 | "account_model_owner": { |
| 266 | "type": "boolean", |
| 267 | "default": false |
| 268 | }, |
| 269 | "session_provider_keys": { |
| 270 | "type": "boolean", |
| 271 | "default": false |
| 272 | }, |
| 273 | "threads": { |
| 274 | "type": "boolean" |
| 275 | }, |
| 276 | "thread_graph": { |
| 277 | "type": "boolean", |
| 278 | "default": false |
| 279 | }, |
| 280 | "thread_create_idempotency": { |
| 281 | "type": "boolean", |
| 282 | "default": false |
| 283 | }, |
| 284 | "exact_route_thread_create": { |
| 285 | "type": "boolean", |
| 286 | "default": false |
| 287 | }, |
| 288 | "thread_idle_precondition": { |
| 289 | "type": "boolean", |
| 290 | "default": false |
| 291 | }, |
| 292 | "thread_patch_undo_turn_id": { |
| 293 | "type": "boolean", |
| 294 | "default": false |
| 295 | }, |
| 296 | "thread_model_hotswitch": { |
| 297 | "type": "boolean", |
| 298 | "default": false |
| 299 | }, |
| 300 | "thread_scoped_reads": { |
| 301 | "type": "boolean", |
| 302 | "default": false |
| 303 | }, |
| 304 | "thread_scoped_git_writes": { |
| 305 | "type": "boolean", |
| 306 | "description": "Git stage, unstage, discard, commit, push and branch accept\n`?thread_id=` and act on that thread's workspace.", |
| 307 | "default": false |
| 308 | }, |
| 309 | "thread_scoped_file_writes": { |
| 310 | "type": "boolean", |
| 311 | "description": "`PUT /v1/workspace/files` accepts `?thread_id=` and writes into that\nthread's workspace with the same confinement and revision rules.", |
| 312 | "default": false |
| 313 | }, |
| 314 | "thread_scoped_snapshots": { |
| 315 | "type": "boolean", |
| 316 | "description": "`GET /v1/snapshots` and `POST /v1/snapshots/{id}/restore` accept\n`?thread_id=` and act on that thread's workspace.", |
| 317 | "default": false |
| 318 | }, |
| 319 | "thread_scoped_terminals": { |
| 320 | "type": "boolean", |
| 321 | "description": "`GET /v1/threads/{id}/terminals` lists the thread's live shells, and\n`/v1/threads/{id}/terminals/{terminal_id}/output|input|resize|kill`\ndrive one by the identity the Engine issued it.", |
| 322 | "default": false |
| 323 | }, |
| 324 | "worktrees": { |
| 325 | "type": "boolean", |
| 326 | "description": "`GET`/`POST /v1/worktrees` and `POST /v1/worktrees/remove`.", |
| 327 | "default": false |
| 328 | }, |
| 329 | "job_operations": { |
| 330 | "type": "boolean", |
| 331 | "default": false |
| 332 | }, |
| 333 | "thread_shell_consent": { |
| 334 | "type": "boolean", |
| 335 | "description": "Explicit per-thread shell opt-in is checked against loaded policy and\ncannot broaden a conversation while it has an active turn.", |
| 336 | "default": false |
| 337 | }, |
| 338 | "thread_standing_context": { |
| 339 | "type": "boolean", |
| 340 | "default": false |
| 341 | }, |
| 342 | "workspace_customizations": { |
| 343 | "type": "boolean", |
| 344 | "default": false |
| 345 | }, |
| 346 | "turns": { |
| 347 | "type": "boolean" |
| 348 | }, |
| 349 | "turn_operation_idempotency": { |
| 350 | "type": "boolean", |
| 351 | "description": "`POST /v1/threads/{id}/turns` accepts a durable, thread-scoped\n`operation_key` and returns the original turn for exact retries.", |
| 352 | "default": false |
| 353 | }, |
| 354 | "turn_operation_lookup": { |
| 355 | "type": "boolean", |
| 356 | "description": "Read-only exact accepted-turn lookup by thread and operation key.", |
| 357 | "default": false |
| 358 | }, |
| 359 | "watch_event_turns": { |
| 360 | "type": "boolean", |
| 361 | "default": false |
| 362 | }, |
| 363 | "structured_review_turns": { |
| 364 | "type": "boolean", |
| 365 | "default": false |
| 366 | }, |
| 367 | "structured_review_version": { |
| 368 | "type": "integer", |
| 369 | "format": "uint32", |
| 370 | "minimum": 0, |
| 371 | "default": 0 |
| 372 | }, |
| 373 | "automation_mutation_preconditions": { |
| 374 | "type": "boolean", |
| 375 | "description": "Automation patch/run/pause/resume honor `expected_revision` (409\n`revision_conflict` carrying `current_revision`); create/patch/run/pause/\nresume honor a bounded, persisted `Idempotency-Key`. Delete honors\nneither.", |
| 376 | "default": false |
| 377 | }, |
| 378 | "turn_image_inputs": { |
| 379 | "type": "boolean", |
| 380 | "description": "Bounded inline image inputs, persisted and replayed with their turn.", |
| 381 | "default": false |
| 382 | }, |
| 383 | "turn_output_token_limit": { |
| 384 | "type": "boolean", |
| 385 | "description": "Per-turn maxOutputTokens is validated and intersected with the route ceiling.", |
| 386 | "default": false |
| 387 | }, |
| 388 | "profile_constitution": { |
| 389 | "type": "boolean", |
| 390 | "description": "Account profile snapshots and Engine-owned constitution preview.", |
| 391 | "default": false |
| 392 | }, |
| 393 | "turn_steer": { |
| 394 | "type": "boolean" |
| 395 | }, |
| 396 | "turn_interrupt": { |
| 397 | "type": "boolean" |
| 398 | }, |
| 399 | "event_replay": { |
| 400 | "type": "boolean" |
| 401 | }, |
| 402 | "external_tools": { |
| 403 | "type": "boolean" |
| 404 | }, |
| 405 | "environments": { |
| 406 | "type": "boolean" |
| 407 | }, |
| 408 | "worker_runtime": { |
| 409 | "type": "boolean" |
| 410 | }, |
| 411 | "fleet_run_create": { |
| 412 | "type": "boolean", |
| 413 | "default": false |
| 414 | }, |
| 415 | "fleet_worker_provider_pins": { |
| 416 | "type": "boolean", |
| 417 | "default": false |
| 418 | }, |
| 419 | "fleet_mission_board": { |
| 420 | "type": "boolean", |
| 421 | "default": false |
| 422 | }, |
| 423 | "fleet_worker_model_pool": { |
| 424 | "type": "boolean", |
| 425 | "default": false |
| 426 | }, |
| 427 | "thread_fleet_members": { |
| 428 | "type": "boolean", |
| 429 | "default": false |
| 430 | }, |
| 431 | "thread_fleet_member_durable_operations_v1": { |
| 432 | "type": "boolean", |
| 433 | "description": "Member starts are durable per `(store, thread, operation_key)`;\n`GET /v1/threads/{id}/members/operations/{operation_key}` reads them.", |
| 434 | "default": false |
| 435 | }, |
| 436 | "fleet_run_start": { |
| 437 | "type": "boolean", |
| 438 | "default": false |
| 439 | }, |
| 440 | "fleet_event_replay": { |
| 441 | "type": "boolean", |
| 442 | "default": false |
| 443 | }, |
| 444 | "fleet_event_stream": { |
| 445 | "type": "boolean", |
| 446 | "default": false |
| 447 | }, |
| 448 | "fleet_local_target": { |
| 449 | "type": "boolean", |
| 450 | "default": false |
| 451 | }, |
| 452 | "fleet_worker_thread_executor": { |
| 453 | "type": "boolean", |
| 454 | "default": false |
| 455 | }, |
| 456 | "thread_goals": { |
| 457 | "type": "boolean", |
| 458 | "description": "`GET/PUT/DELETE /v1/threads/{id}/goal` and the `complete`/`block`\nlifecycle actions are available.", |
| 459 | "default": false |
| 460 | }, |
| 461 | "memory": { |
| 462 | "type": "boolean", |
| 463 | "description": "`GET /v1/memory` and `GET /v1/memory/{id}` are available for\nbounded inspection of the native memory store. `POST /v1/memory`\nand `DELETE /v1/memory` are also available (auth-gated via the\nstandard route layer) for lifecycle controls.", |
| 464 | "default": false |
| 465 | }, |
| 466 | "mcp_server_management": { |
| 467 | "type": "boolean", |
| 468 | "description": "Whether the runtime supports create/update/enable/disable/reconnect/delete\noperations on MCP server configuration via the `POST|GET|PATCH|DELETE\n/v1/apps/mcp/servers` family of endpoints.", |
| 469 | "default": false |
| 470 | }, |
| 471 | "skill_lifecycle": { |
| 472 | "type": "boolean", |
| 473 | "description": "Skill lifecycle operations (install, update, uninstall, trust, audit)\nare available via the HTTP API.", |
| 474 | "default": false |
| 475 | }, |
| 476 | "skill_detail": { |
| 477 | "type": "boolean", |
| 478 | "description": "`GET /v1/skills/{name}` returns one skill's full body and routing\nmetadata, so a client can compose an activation instruction for its\nnext turn. `GET /v1/skills` rows also carry `invocation`, `aliases`,\nand `bundled_tier` routing fields when this flag is set.", |
| 479 | "default": false |
| 480 | }, |
| 481 | "plugin_management": { |
| 482 | "type": "boolean", |
| 483 | "description": "Plugin bundle and marketplace lifecycle operations (list/detail,\ninstall/update/uninstall, trust/enable/disable/revoke, marketplace\nadd/remove/install) are available via the `/v1/apps/plugins` and\n`/v1/apps/marketplaces` endpoint families.", |
| 484 | "default": false |
| 485 | }, |
| 486 | "agent_mail": { |
| 487 | "type": "boolean", |
| 488 | "description": "Durable, workspace-scoped cross-task Agent Mail endpoints and events.", |
| 489 | "default": false |
| 490 | }, |
| 491 | "event_stream_resume": { |
| 492 | "type": "boolean", |
| 493 | "description": "`GET /v1/threads/{id}/events` puts the durable `seq` on every journal\nframe as the SSE `id:` and resumes from a `Last-Event-ID` header, so a\nbrowser `EventSource` reconnects without a cursor in the query string.", |
| 494 | "default": false |
| 495 | }, |
| 496 | "permission_rules": { |
| 497 | "type": "boolean", |
| 498 | "description": "`GET /v1/permissions/rules` lists the user `permissions.toml` rules\nwith per-rule removal tokens, and `POST /v1/permissions/rules/remove`\nremoves one for an owner caller.", |
| 499 | "default": false |
| 500 | }, |
| 501 | "approval_remember_workspace": { |
| 502 | "type": "boolean", |
| 503 | "description": "`POST /v1/approvals/{id}` accepts `remember_scope: \"workspace\"`, which\nsaves the exact repo-scoped allow rule to `permissions.toml`.", |
| 504 | "default": false |
| 505 | }, |
| 506 | "approval_grants_list": { |
| 507 | "type": "boolean", |
| 508 | "description": "`GET /v1/approval-grants` lists active and suspended grants across\nthreads.", |
| 509 | "default": false |
| 510 | }, |
| 511 | "search_consent": { |
| 512 | "type": "boolean", |
| 513 | "default": false |
| 514 | }, |
| 515 | "worker_wake_and_revive": { |
| 516 | "type": "boolean", |
| 517 | "default": false |
| 518 | }, |
| 519 | "fleet_worker_model_hotswitch": { |
| 520 | "type": "boolean", |
| 521 | "default": false |
| 522 | } |
| 523 | }, |
| 524 | "required": [ |
| 525 | "client_token_intents", |
| 526 | "account_session", |
| 527 | "account_model_owner", |
| 528 | "session_provider_keys", |
| 529 | "threads", |
| 530 | "thread_graph", |
| 531 | "thread_create_idempotency", |
| 532 | "exact_route_thread_create", |
| 533 | "thread_idle_precondition", |
| 534 | "thread_patch_undo_turn_id", |
| 535 | "thread_model_hotswitch", |
| 536 | "thread_scoped_reads", |
| 537 | "thread_scoped_git_writes", |
| 538 | "thread_scoped_file_writes", |
| 539 | "thread_scoped_snapshots", |
| 540 | "thread_scoped_terminals", |
| 541 | "worktrees", |
| 542 | "job_operations", |
| 543 | "thread_shell_consent", |
| 544 | "thread_standing_context", |
| 545 | "workspace_customizations", |
| 546 | "turns", |
| 547 | "turn_operation_idempotency", |
| 548 | "turn_operation_lookup", |
| 549 | "watch_event_turns", |
| 550 | "structured_review_turns", |
| 551 | "structured_review_version", |
| 552 | "automation_mutation_preconditions", |
| 553 | "turn_image_inputs", |
| 554 | "turn_output_token_limit", |
| 555 | "profile_constitution", |
| 556 | "turn_steer", |
| 557 | "turn_interrupt", |
| 558 | "event_replay", |
| 559 | "external_tools", |
| 560 | "environments", |
| 561 | "worker_runtime", |
| 562 | "fleet_run_create", |
| 563 | "fleet_worker_provider_pins", |
| 564 | "fleet_mission_board", |
| 565 | "fleet_worker_model_pool", |
| 566 | "thread_fleet_members", |
| 567 | "thread_fleet_member_durable_operations_v1", |
| 568 | "fleet_run_start", |
| 569 | "fleet_event_replay", |
| 570 | "fleet_event_stream", |
| 571 | "fleet_local_target", |
| 572 | "fleet_worker_thread_executor", |
| 573 | "thread_goals", |
| 574 | "memory", |
| 575 | "mcp_server_management", |
| 576 | "skill_lifecycle", |
| 577 | "skill_detail", |
| 578 | "plugin_management", |
| 579 | "agent_mail", |
| 580 | "event_stream_resume", |
| 581 | "permission_rules", |
| 582 | "approval_remember_workspace", |
| 583 | "approval_grants_list", |
| 584 | "search_consent", |
| 585 | "worker_wake_and_revive", |
| 586 | "fleet_worker_model_hotswitch" |
| 587 | ], |
| 588 | "description": "Fixed capability map advertised by `GET /v1/runtime/info`.\n\nAll fields are required on serialization so clients can rely on the shape." |
| 589 | }, |
| 590 | "ApprovalKind": { |
| 591 | "type": "string", |
| 592 | "enum": [ |
| 593 | "third_party_search" |
| 594 | ] |
| 595 | }, |
| 596 | "FleetProfileDocument": { |
| 597 | "type": "object", |
| 598 | "additionalProperties": false, |
| 599 | "properties": { |
| 600 | "id": { |
| 601 | "type": "string" |
| 602 | }, |
| 603 | "kind": { |
| 604 | "$ref": "#/$defs/FleetProfileDocumentKind" |
| 605 | }, |
| 606 | "origin": { |
| 607 | "type": "string" |
| 608 | }, |
| 609 | "path": { |
| 610 | "type": [ |
| 611 | "string", |
| 612 | "null" |
| 613 | ] |
| 614 | }, |
| 615 | "text": { |
| 616 | "type": "string" |
| 617 | }, |
| 618 | "revision": { |
| 619 | "type": "string" |
| 620 | }, |
| 621 | "writable": { |
| 622 | "type": "boolean" |
| 623 | }, |
| 624 | "refusal_reason": { |
| 625 | "type": [ |
| 626 | "string", |
| 627 | "null" |
| 628 | ] |
| 629 | } |
| 630 | }, |
| 631 | "required": [ |
| 632 | "id", |
| 633 | "kind", |
| 634 | "origin", |
| 635 | "path", |
| 636 | "text", |
| 637 | "revision", |
| 638 | "writable", |
| 639 | "refusal_reason" |
| 640 | ] |
| 641 | }, |
| 642 | "FleetProfileDocumentKind": { |
| 643 | "type": "string", |
| 644 | "enum": [ |
| 645 | "profile", |
| 646 | "fleet" |
| 647 | ] |
| 648 | }, |
| 649 | "RuntimeExperimentalCapabilities": { |
| 650 | "type": "object", |
| 651 | "properties": { |
| 652 | "environments": { |
| 653 | "type": "boolean", |
| 654 | "default": false |
| 655 | } |
| 656 | }, |
| 657 | "required": [ |
| 658 | "environments" |
| 659 | ], |
| 660 | "description": "Experimental opt-in flags advertised by `GET /v1/runtime/info`.\n\nFields are additive and default to `false` when omitted by older servers." |
| 661 | }, |
| 662 | "DynamicToolCallParams": { |
| 663 | "type": "object", |
| 664 | "properties": { |
| 665 | "thread_id": { |
| 666 | "type": "string" |
| 667 | }, |
| 668 | "turn_id": { |
| 669 | "type": "string" |
| 670 | }, |
| 671 | "call_id": { |
| 672 | "type": "string" |
| 673 | }, |
| 674 | "namespace": { |
| 675 | "type": "string", |
| 676 | "description": "Optional namespace that was registered with the tool." |
| 677 | }, |
| 678 | "tool": { |
| 679 | "type": "string", |
| 680 | "description": "Tool name that the model invoked." |
| 681 | }, |
| 682 | "arguments": { |
| 683 | "description": "Arguments supplied by the model, validated against `input_schema`." |
| 684 | } |
| 685 | }, |
| 686 | "required": [ |
| 687 | "thread_id", |
| 688 | "turn_id", |
| 689 | "call_id", |
| 690 | "tool", |
| 691 | "arguments" |
| 692 | ], |
| 693 | "description": "Parameters identifying a dynamic tool call request emitted by the runtime.\n\nThis is the typed payload for `tool_call.requested` events and also the\nnatural identifier used when the runtime looks up a pending call." |
| 694 | }, |
| 695 | "DynamicToolSpecOutput": { |
| 696 | "type": "object", |
| 697 | "properties": { |
| 698 | "namespace": { |
| 699 | "type": "string", |
| 700 | "description": "Optional namespace that groups related tools (e.g. `\"tau_bench\"`).\nWhen present, the runtime may expose the tool as\n`<namespace>::<name>` to the model." |
| 701 | }, |
| 702 | "name": { |
| 703 | "type": "string", |
| 704 | "description": "Short tool name. Combined with `namespace` it forms a unique tool id." |
| 705 | }, |
| 706 | "description": { |
| 707 | "type": "string", |
| 708 | "description": "Human-readable description exposed to the model." |
| 709 | }, |
| 710 | "input_schema": { |
| 711 | "description": "JSON Schema describing the tool's input parameters." |
| 712 | }, |
| 713 | "defer_loading": { |
| 714 | "type": "boolean", |
| 715 | "description": "If true, the runtime may defer schema validation / tool loading until\nthe model actually calls the tool.\n\nDefaults to `false` so that older clients omitting this field still\nbehave the same way.", |
| 716 | "default": false |
| 717 | } |
| 718 | }, |
| 719 | "required": [ |
| 720 | "name", |
| 721 | "description", |
| 722 | "input_schema", |
| 723 | "defer_loading" |
| 724 | ], |
| 725 | "description": "Specification for a dynamic external tool registered by a runtime client.\n\nExample JSON from the spec:\n\n```json\n{\n \"namespace\": \"tau_bench\",\n \"name\": \"get_reservation\",\n \"description\": \"Look up an airline reservation.\",\n \"input_schema\": {\n \"type\": \"object\",\n \"properties\": {\n \"reservation_id\": { \"type\": \"string\" }\n },\n \"required\": [\"reservation_id\"],\n \"additionalProperties\": false\n }\n}\n```" |
| 726 | } |
| 727 | } |
| 728 | } |
| 729 |