You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit cd30084
Browse filesBrowse the repository at this point in the historyBrowse files
description: 'A call to a custom (freeform-grammar) tool created by the model — distinct from `function_call`. Used for tools like Codex CLI''s `apply_patch` whose payload is opaque text rather than JSON arguments.'
8230
8224
example:
8231
8225
call_id: 'call-abc123'
8232
8226
id: 'ctc-abc123'
8233
8227
input: "*** Begin Patch\n*** End Patch"
8234
8228
name: 'apply_patch'
8235
8229
type: 'custom_tool_call'
8230
+
properties:
8231
+
async:
8232
+
description: 'True when the model called a tool declared with `async: true` and may continue its turn before the output is returned. Return the result in a later request as a `function_call_output` with this `call_id`.'
8233
+
example: true
8234
+
type:
8235
+
- 'boolean'
8236
+
- 'null'
8237
+
call_id:
8238
+
type: 'string'
8239
+
id:
8240
+
type:
8241
+
- 'string'
8242
+
- 'null'
8243
+
input:
8244
+
type: 'string'
8245
+
name:
8246
+
type: 'string'
8247
+
namespace:
8248
+
description: 'Namespace qualifier for tools registered as part of a namespace tool group (e.g. an MCP server)'
description: 'A function call initiated by the model'
9389
9413
example:
9390
9414
arguments: '{"location":"San Francisco"}'
@@ -9393,6 +9417,60 @@ components:
9393
9417
name: 'get_weather'
9394
9418
status: 'completed'
9395
9419
type: 'function_call'
9420
+
properties:
9421
+
arguments:
9422
+
type: 'string'
9423
+
async:
9424
+
description: 'True when the model called a tool declared with `async: true` and may continue its turn before the output is returned. Return the result in a later request as a `function_call_output` with this `call_id`.'
9425
+
example: true
9426
+
type:
9427
+
- 'boolean'
9428
+
- 'null'
9429
+
call_id:
9430
+
type: 'string'
9431
+
id:
9432
+
type:
9433
+
- 'string'
9434
+
- 'null'
9435
+
name:
9436
+
type: 'string'
9437
+
namespace:
9438
+
description: 'Namespace qualifier for tools registered as part of a namespace tool group (e.g. an MCP server)'
9439
+
type:
9440
+
- 'string'
9441
+
- 'null'
9442
+
status:
9443
+
anyOf:
9444
+
- $ref: '#/components/schemas/ToolCallStatus'
9445
+
- type: 'null'
9446
+
subagent_id:
9447
+
description: 'EXPERIMENTAL — subject to change without notice. String id that matches the `call_id` of the `openrouter:subagent` server tool call that spawned the subagent. Present on every `function_call` item the subagent projects; absent on ordinary function calls.'
9448
+
type:
9449
+
- 'string'
9450
+
- 'null'
9451
+
subagent_items:
9452
+
description: 'EXPERIMENTAL — subject to change without notice. The subagent''s output items produced on this turn. Treat this as an opaque object; you must replay it in the request so that the subagent can continue execution of the tool with the same context. If a subagent created multiple parallel tool calls, only the first tool call will have this field. The other tool calls will only have `subagent_id`. Present only if the tool call originates from a subagent spawned by the `openrouter:subagent` server tool.'
0 commit comments