Skip to content

Commit 357fa57

Browse files
committed
## Python SDK Changes:
* `open_router.beta.responses.send()`: * `request.input.union(Array<>)[]` **Changed** * `response` **Changed** * `open_router.chat.send()`: * `request.tools[].union(SubagentServerTool_OpenRouter).parameters` **Changed** * `open_router.presets.create_presets_chat_completions()`: * `request.tools[].union(SubagentServerTool_OpenRouter).parameters` **Changed** * `open_router.presets.create_presets_responses()`: * `request.input.union(Array<>)[]` **Changed** * `open_router.responses.send()`: * `request.input.union(Array<>)[]` **Changed** * `response` **Changed**
1 parent a281437 commit 357fa57

26 files changed

Lines changed: 376 additions & 133 deletions

.speakeasy/gen.lock

Lines changed: 53 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
lockVersion: 2.0.0
22
id: c48cf606-fb42-4a45-9c23-8f0555307828
33
management:
4-
docChecksum: 5c4e6162ecadfd23a304f79168bf5745
4+
docChecksum: 06c8e9946edd210938b68d85ffb902ff
55
docVersion: 1.0.0
66
speakeasyVersion: 1.787.0
77
generationVersion: 2.914.0
8-
releaseVersion: 1.1.57
9-
configChecksum: 8cd5a4ccae451615a6e3107cd1f59206
8+
releaseVersion: 1.1.58
9+
configChecksum: 03d8d21ef3595cf11b1de19ad72c2ee0
1010
repoURL: https://github.com/OpenRouterTeam/python-sdk.git
1111
installationURL: https://github.com/OpenRouterTeam/python-sdk.git
1212
published: true
1313
persistentEdits:
14-
generation_id: 171237ab-3370-4c91-8681-0ddc1b0379d0
15-
pristine_commit_hash: 765968d6eb632e90fd1813d28f4c631768f58028
16-
pristine_tree_hash: 333a857f00454f26585046314ff3747a708584ee
14+
generation_id: c6ef7a42-8e52-4c53-a36f-16fa8905e9b9
15+
pristine_commit_hash: 952cde02a6b857b63952e37a6151f7253e0091b1
16+
pristine_tree_hash: 1855d55f6fcd84d45de5b4973cd470d55d217d13
1717
features:
1818
python:
1919
acceptHeaders: 3.0.0
@@ -2030,8 +2030,12 @@ trackedFiles:
20302030
pristine_git_object: da8e18a164f2bd77e34b42d88e0b553edfe8a9c3
20312031
docs/components/functioncallitem.mdx:
20322032
id: 6cb0afdc292f
2033-
last_write_checksum: sha1:e9c1e74fee850ae488ea789133c7fbac4a42c717
2034-
pristine_git_object: f1082d7352418d9e0055cfff070ddfb33b44ce15
2033+
last_write_checksum: sha1:5a28ed756ba1196d621e377c137efd2b40aaff41
2034+
pristine_git_object: a05ce326e271f5542767cfa285b43049c8d2bdc8
2035+
docs/components/functioncallitemsubagentitem.mdx:
2036+
id: e71e71703a47
2037+
last_write_checksum: sha1:24fc27e4de6e95f72e293c5275aa68c89ed3076c
2038+
pristine_git_object: 19df504a4d6016531c41efb30a72e3d0351f6c53
20352039
docs/components/functioncallitemtype.mdx:
20362040
id: d41eb56d2b5b
20372041
last_write_checksum: sha1:2b5ba9f95bbac58d31ca72fb29d8398a90c68f86
@@ -3466,8 +3470,8 @@ trackedFiles:
34663470
pristine_git_object: 8c38bc0f267a36c61128b1a5d747a56ff4aa6564
34673471
docs/components/openairesponsefunctiontoolcall.mdx:
34683472
id: 8e50b2457c3b
3469-
last_write_checksum: sha1:050ae2fecc3831e37a7e830e0eeab1043fdbabf2
3470-
pristine_git_object: efdbbbce90ebc1aa26129d87a523551e531949a3
3473+
last_write_checksum: sha1:4534401a23ee67eba50eccf1f49b78b26b770f9a
3474+
pristine_git_object: cfb351eb2596078c9579806310553e2accb4bd0e
34713475
docs/components/openairesponsefunctiontoolcalloutput.mdx:
34723476
id: f1e4ed07af7a
34733477
last_write_checksum: sha1:1179ca7cef9d376a2845001e52b128d4bb95dd00
@@ -3484,6 +3488,10 @@ trackedFiles:
34843488
id: af38067ccadd
34853489
last_write_checksum: sha1:b189125d1756e152441fced6a22160169b8bb1e5
34863490
pristine_git_object: 16e5b2059e4c6c58c603aaba63cf085af0966e7a
3491+
docs/components/openairesponsefunctiontoolcallsubagentitem.mdx:
3492+
id: f8892ce7650f
3493+
last_write_checksum: sha1:ce8c2d840413b64346323b8ed0010edbdcdde3f9
3494+
pristine_git_object: b52ff9cb9a4b2779012d4a1e27467aacff9b4a83
34873495
docs/components/openairesponsefunctiontoolcalltype.mdx:
34883496
id: aad74378a805
34893497
last_write_checksum: sha1:427d28b49c2627514b7839467cde6f2ef761559d
@@ -3802,8 +3810,8 @@ trackedFiles:
38023810
pristine_git_object: f9eb6568f06fc4b917d41a391f0b3046ac064889
38033811
docs/components/outputfunctioncallitem.mdx:
38043812
id: 1d62f9e67c2f
3805-
last_write_checksum: sha1:6642104468672708caccef16346f824b51264670
3806-
pristine_git_object: 86a1cd0d85064d5befa583ca69d39412683c90e4
3813+
last_write_checksum: sha1:566af9cdffbaa59972d4126fc651ed22f898e889
3814+
pristine_git_object: 5a9941276b8c2b2eb9cfb02dcccaa9b1d8d2d670
38073815
docs/components/outputfunctioncallitemstatuscompleted.mdx:
38083816
id: 9adee8d9044e
38093817
last_write_checksum: sha1:dc89eadf1d22b60e9724132c025b902c515bba72
@@ -3820,6 +3828,10 @@ trackedFiles:
38203828
id: 032eaf121751
38213829
last_write_checksum: sha1:d1133a2a0258047c769ca9c6bce709afda014df9
38223830
pristine_git_object: d4cb118508c4931e8dc3389cd9d02b98c71c7ea5
3831+
docs/components/outputfunctioncallitemsubagentitem.mdx:
3832+
id: 07de8c859b20
3833+
last_write_checksum: sha1:586f34f0bfac78aa09825e705bb4bfebdda36e81
3834+
pristine_git_object: 7cab07dcf9b5726d213068708ca5e70427546758
38233835
docs/components/outputfunctioncallitemtype.mdx:
38243836
id: cbb88dd0dc5a
38253837
last_write_checksum: sha1:e2ae4e411c58ca859cecc745f78da50f3c824aca
@@ -4030,8 +4042,8 @@ trackedFiles:
40304042
pristine_git_object: 2bfc5b85b0a0962d951930f1fd22bf3fb230750a
40314043
docs/components/outputsubagentservertoolitem.mdx:
40324044
id: afeb6acde438
4033-
last_write_checksum: sha1:f098a2f49e4a4f2d627148d02a8e49ce2f8a89f0
4034-
pristine_git_object: 1b15fce12d6fc2bd2096db911b9b752bf0b2ace8
4045+
last_write_checksum: sha1:28a36b448ac773fda95281d45bcebb1b4428873c
4046+
pristine_git_object: f74e9cc219f7834d51acd40be8f39eca28906cb6
40354047
docs/components/outputsubagentservertoolitemtype.mdx:
40364048
id: de66682e96c0
40374049
last_write_checksum: sha1:73a7ed6acdb716d85e1cd3b83517f12dcc5ee393
@@ -4986,16 +4998,16 @@ trackedFiles:
49864998
pristine_git_object: 957462250a173bfdf34ca2440fb46cbbd5a06cf9
49874999
docs/components/subagentreasoning.mdx:
49885000
id: 2e412fc3ecc2
4989-
last_write_checksum: sha1:095e527fa9f146290858b2c98b6a8ccc11755e37
4990-
pristine_git_object: 17ee212d76548c12b456eef6c7ee1e92330478d3
5001+
last_write_checksum: sha1:5250d73972608325576f8617c5188b005366409f
5002+
pristine_git_object: c1d3baea52081fbe67058042076aecd10771d6ef
49915003
docs/components/subagentreasoningeffort.mdx:
49925004
id: cc922bbdeeeb
49935005
last_write_checksum: sha1:c41a98510c6e46da0cbdd0f1106d4595b8e63c22
49945006
pristine_git_object: 6ff0d51d2b5668291fb70f4cd5ad649fe3f4f6fc
49955007
docs/components/subagentservertoolconfig.mdx:
49965008
id: f7fa49016554
4997-
last_write_checksum: sha1:13d1921170bf027092fecb3b5b6eacbf143771af
4998-
pristine_git_object: 3a8e769cc39c22e754bb347e8a6b55fa03d3422c
5009+
last_write_checksum: sha1:0f0db3e758a793bd8168050aeac3ea6b982a3588
5010+
pristine_git_object: 3e6825bc8223e13f43e05dbe5d267211d8f6c7ef
49995011
docs/components/subagentservertoolopenrouter.mdx:
50005012
id: 8ede88c6400a
50015013
last_write_checksum: sha1:9f4c3798805099682584724a42d211fe0861f431
@@ -7234,8 +7246,8 @@ trackedFiles:
72347246
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
72357247
pyproject.toml:
72367248
id: 5d07e7d72637
7237-
last_write_checksum: sha1:7ddbc53a16bf917bfcb5a572cdb40b50a52f078a
7238-
pristine_git_object: 36963934f7624aa899400c4d9fabb15952d04c16
7249+
last_write_checksum: sha1:b9eb32a35533987e08d3e8b48330159f52c563fd
7250+
pristine_git_object: 6d5eb569679b7dbfd13226b6b5ee01877ca5e47a
72397251
scripts/prepare_readme.py:
72407252
id: e0c5957a6035
72417253
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
@@ -7262,8 +7274,8 @@ trackedFiles:
72627274
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
72637275
src/openrouter/_version.py:
72647276
id: d8d15ad6c586
7265-
last_write_checksum: sha1:b671af22de2bea9808c948466ff1b74adc909090
7266-
pristine_git_object: 80371bc54bade0bc2eda19a35d1e3a39796e6fc0
7277+
last_write_checksum: sha1:14ae4beff235133d72d78bc00df97836d6ad5086
7278+
pristine_git_object: de1436078d61137886e93377ebdcd2dc702e8887
72677279
src/openrouter/analytics.py:
72687280
id: cb406b5aaabb
72697281
last_write_checksum: sha1:3ea0f1c73fb9c101b7bc5719da4dd7bf62ff469a
@@ -7306,8 +7318,8 @@ trackedFiles:
73067318
pristine_git_object: ad3d247954547814054c01989a2dff3d12b3e4e1
73077319
src/openrouter/components/__init__.py:
73087320
id: 81754e97b3f4
7309-
last_write_checksum: sha1:f1dfb69c3b3296a121af19e198dc431be62d9138
7310-
pristine_git_object: aa1609dc43dfbd4a6f64d49dd70fe272fc21e4c3
7321+
last_write_checksum: sha1:4873861b268ae7ca8a5761a36d7be42b26f4583b
7322+
pristine_git_object: 5521c2bba2263ca396bafdb33ed7515d39ac1daf
73117323
src/openrouter/components/aabenchmarkentry.py:
73127324
id: e2e0f0b48c82
73137325
last_write_checksum: sha1:fab4d9a24d2cea937bb749d46c5f83941e99d65c
@@ -8198,8 +8210,8 @@ trackedFiles:
81988210
pristine_git_object: 613c2bbaec296ed9b0da13f249ef96b9314ff9ed
81998211
src/openrouter/components/functioncallitem.py:
82008212
id: 5e69afffd660
8201-
last_write_checksum: sha1:94c192e67b0c0c2cca046b8fc5caa296f0c0d9d8
8202-
pristine_git_object: 8d9002fa30aea04624c233b970eb36001a764f40
8213+
last_write_checksum: sha1:543fedb0f6c7908eec52a860a680ffdd1a8bfa3c
8214+
pristine_git_object: 5a2e897e84e4becef9ecec8d8518887ce6b6f1ff
82038215
src/openrouter/components/functioncalloutputitem.py:
82048216
id: bf659aa04e7d
82058217
last_write_checksum: sha1:011dcfa6feb0042f5a20e1a0caee9d8b300b0457
@@ -8458,8 +8470,8 @@ trackedFiles:
84588470
pristine_git_object: f499cbbb546232f5cfbfe2c44fb41aefb306c87f
84598471
src/openrouter/components/inputs_union.py:
84608472
id: 17d6239cb6a7
8461-
last_write_checksum: sha1:12efadbe47b5fbe8557ba3f188be85336847743b
8462-
pristine_git_object: 82a4055ff813e8b8c627aba63c5202c0c7c29363
8473+
last_write_checksum: sha1:ab2d2da2fd44e37609c350ec39889f991e94bd40
8474+
pristine_git_object: 557636cb8660e4c47c77f5c892592a6c201b79a4
84638475
src/openrouter/components/inputtext.py:
84648476
id: a995ae96be99
84658477
last_write_checksum: sha1:2da9ff645acc96772701908830151c5a707ed021
@@ -8790,8 +8802,8 @@ trackedFiles:
87908802
pristine_git_object: 4cfede4cecef4d5aa4f80aff3d321cd4e1555b95
87918803
src/openrouter/components/openairesponsefunctiontoolcall.py:
87928804
id: f201e89f8dcb
8793-
last_write_checksum: sha1:6cb86a7da1d9f11a1e9ad0e5d08173f85205ee4e
8794-
pristine_git_object: 2351f7f08aabcf15cc6ed810a537ca4638bcd8fc
8805+
last_write_checksum: sha1:d95233256d22af7c8d01e9f73328b064f10b8583
8806+
pristine_git_object: 6220666cffdc1ad93167c9c5428b204947e36298
87958807
src/openrouter/components/openairesponsefunctiontoolcalloutput.py:
87968808
id: 1440f5810305
87978809
last_write_checksum: sha1:db5170fedf1f70f85582e93fe11228786f9d7961
@@ -8906,8 +8918,8 @@ trackedFiles:
89068918
pristine_git_object: 5f30e958618a659ecc83c746240144961c6bf6e6
89078919
src/openrouter/components/outputfunctioncallitem.py:
89088920
id: 516ed67b5406
8909-
last_write_checksum: sha1:2dcba52e87aad59459a33bd5cd665a32c6372db9
8910-
pristine_git_object: 13dc4afc3516bdb0590427677835c1d1590c9d9d
8921+
last_write_checksum: sha1:7bffd3f5f8e3b728c1e3c91bd2193f190bb90e94
8922+
pristine_git_object: c33627e17dd81f684806682334d2bc67a11b6fb4
89118923
src/openrouter/components/outputfusionservertoolitem.py:
89128924
id: 1d798a2bb7ae
89138925
last_write_checksum: sha1:dba77052202fb6602b18083e7c6fff1e6f2e46c7
@@ -8926,8 +8938,8 @@ trackedFiles:
89268938
pristine_git_object: 94af810bbdb87fb8c6800645354f7ec4dd067e7f
89278939
src/openrouter/components/outputitems.py:
89288940
id: 90f107de3116
8929-
last_write_checksum: sha1:11ae20f32633b9e35a8bb591bb6c0ec8efe24d0a
8930-
pristine_git_object: e636dee65c7243deacf11bc538b37388c78a3e40
8941+
last_write_checksum: sha1:3ed1ee5e49484845da550c7dbe3c18fb27e2b769
8942+
pristine_git_object: 3866bb7e4f63ee9d066358bed7f388232de25c6c
89318943
src/openrouter/components/outputmcpservertoolitem.py:
89328944
id: bb8c2536a58e
89338945
last_write_checksum: sha1:28d33c9226ff4ce6871457fa1fae384b590f676c
@@ -8970,8 +8982,8 @@ trackedFiles:
89708982
pristine_git_object: 18a1f6df264fe768bd78d5c4b7c1c030ecec7b37
89718983
src/openrouter/components/outputsubagentservertoolitem.py:
89728984
id: 7480e835aa08
8973-
last_write_checksum: sha1:27fe8898137bc806619dc444b588cde5a8a32c70
8974-
pristine_git_object: 3e4bba1425b99d114f19529ade4de6cf2e7c3f09
8985+
last_write_checksum: sha1:fcda61a3604f16bed4ce3842b57de32d309316f4
8986+
pristine_git_object: a4325ca9ec83c5713b22d58647dbbb468a066201
89758987
src/openrouter/components/outputtexteditorservertoolitem.py:
89768988
id: 2a5dc9318fe6
89778989
last_write_checksum: sha1:fc1bf715ac0084d7390eb75152f0f27994654fab
@@ -9474,16 +9486,16 @@ trackedFiles:
94749486
pristine_git_object: e803021eeec772cd3d02b5eb123c18558156e117
94759487
src/openrouter/components/subagentreasoning.py:
94769488
id: 2715ebf26eb3
9477-
last_write_checksum: sha1:79917bf44c183cbd5f7b9e9a9ce60ef288e4f0d7
9478-
pristine_git_object: d34c619b85be547eaae9ae7f96fad370de5c0b43
9489+
last_write_checksum: sha1:c66596c9e1ea6aade531934f6901778b76db5de4
9490+
pristine_git_object: 87af45ca3cf397993a7ec58ca7663b6ec03b9126
94799491
src/openrouter/components/subagentservertool_openrouter.py:
94809492
id: f08524c6985a
94819493
last_write_checksum: sha1:c22642aafcdbd55723b853c4e864fd7747b9fad1
94829494
pristine_git_object: b801ffef738356454a532bd4258a916858615978
94839495
src/openrouter/components/subagentservertoolconfig.py:
94849496
id: a8425c790cb6
9485-
last_write_checksum: sha1:7e0e286aa0bce491c000e3c8ff9e099fc57a8bdf
9486-
pristine_git_object: 54683b2862ba16d1d1b0540fef29342438d7c410
9497+
last_write_checksum: sha1:cd8b29ab475eead2dda68cc815868b738359fe8e
9498+
pristine_git_object: db9adabfbf06c5e0dd59818abc87974df6330804
94879499
src/openrouter/components/submitgenerationfeedbackrequest.py:
94889500
id: ae68ea802a9c
94899501
last_write_checksum: sha1:3d0fb9415d218dfbe5b978791c95bc0f28abb131
@@ -12151,3 +12163,4 @@ examples:
1215112163
"500":
1215212164
application/json: {"error": {"code": 500, "message": "Internal Server Error"}}
1215312165
examplesVersion: 1.0.2
12166+
releaseNotes: "## Python SDK Changes:\n* `open_router.beta.responses.send()`: \n * `request.input.union(Array<>)[]` **Changed**\n * `response` **Changed**\n* `open_router.chat.send()`: \n * `request.tools[].union(SubagentServerTool_OpenRouter).parameters` **Changed**\n* `open_router.presets.create_presets_chat_completions()`: \n * `request.tools[].union(SubagentServerTool_OpenRouter).parameters` **Changed**\n* `open_router.presets.create_presets_responses()`: \n * `request.input.union(Array<>)[]` **Changed**\n* `open_router.responses.send()`: \n * `request.input.union(Array<>)[]` **Changed**\n * `response` **Changed**\n"

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ generation:
3636
documentation: mintlify
3737
preApplyUnionDiscriminators: true
3838
python:
39-
version: 1.1.57
39+
version: 1.1.58
4040
additionalDependencies:
4141
dev: {}
4242
main: {}

.speakeasy/out.openapi.yaml

Lines changed: 46 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17157,6 +17157,20 @@ components:
1715717157
type: 'string'
1715817158
status:
1715917159
$ref: '#/components/schemas/ToolCallStatus'
17160+
subagent_id:
17161+
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.'
17162+
type: 'string'
17163+
subagent_items:
17164+
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.'
17165+
items:
17166+
additionalProperties: {}
17167+
properties:
17168+
type:
17169+
type: 'string'
17170+
required:
17171+
- 'type'
17172+
type: 'object'
17173+
type: 'array'
1716017174
type:
1716117175
enum:
1716217176
- 'function_call'
@@ -18550,7 +18564,21 @@ components:
1855018564
OutputFunctionCallItem:
1855118565
allOf:
1855218566
- $ref: '#/components/schemas/OutputItemFunctionCall'
18553-
- properties: {}
18567+
- properties:
18568+
subagent_id:
18569+
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.'
18570+
type: 'string'
18571+
subagent_items:
18572+
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.'
18573+
items:
18574+
additionalProperties: {}
18575+
properties:
18576+
type:
18577+
type: 'string'
18578+
required:
18579+
- 'type'
18580+
type: 'object'
18581+
type: 'array'
1855418582
type: 'object'
1855518583
example:
1855618584
arguments: '{"location":"San Francisco"}'
@@ -19502,6 +19530,9 @@ components:
1950219530
status: 'completed'
1950319531
type: 'openrouter:subagent'
1950419532
properties:
19533+
call_id:
19534+
description: 'EXPERIMENTAL — subject to change without notice. The `call_id` of the tool call that spawned this subagent. This id will also be included as the `subagent_id` on any `function_call` items created by the subagent. This must be returned in the request so the `function_call` can be matched with the correct subagent. A suspended `in_progress` item is announced once and never re-emitted or terminally closed — completion arrives as a new item with the same `call_id`.'
19535+
type: 'string'
1950519536
error:
1950619537
description: 'Error message when the subagent task did not produce an outcome.'
1950719538
type: 'string'
@@ -23780,7 +23811,7 @@ components:
2378023811
type: 'string'
2378123812
x-speakeasy-unknown-values: allow
2378223813
max_tokens:
23783-
description: 'Maximum number of reasoning tokens the subagent may use. Accepted and validated but not yet forwarded to the subagent call.'
23814+
description: 'Maximum number of reasoning tokens the subagent may use. Forwarded to the subagent call as `reasoning.max_tokens`.'
2378423815
type: 'integer'
2378523816
type: 'object'
2378623817
SubagentServerTool_OpenRouter:
@@ -23805,6 +23836,18 @@ components:
2380523836
model: '~anthropic/claude-haiku-latest'
2380623837
name: 'summarizer'
2380723838
properties:
23839+
inherit_functions:
23840+
description: 'EXPERIMENTAL — subject to change without notice. When true, the subagent inherits every client function defined in the request''s top-level `tools` list. Supported on the Responses API (`/api/v1/responses`) only; other APIs reject it with a `400`.'
23841+
example: true
23842+
type: 'boolean'
23843+
inherited_function_names:
23844+
description: 'EXPERIMENTAL — subject to change without notice. Names of the top-level function tools that the subagent will inherit. Any tool that matches by name will be copied fully into the tools array of the subagent. When `inherit_functions` is `true`, this list does nothing, because every client function will be inherited by default. Names are trimmed before validation, so a whitespace-only name is rejected with a `400`. Supported on the Responses API (`/api/v1/responses`) only; other APIs reject it with a `400`.'
23845+
example:
23846+
- 'lookup_order'
23847+
items:
23848+
minLength: 1
23849+
type: 'string'
23850+
type: 'array'
2380823851
instructions:
2380923852
description: 'System instructions for the subagent. When omitted, the subagent responds with no system prompt of its own.'
2381023853
example: 'You are a fast, focused worker. Complete the task exactly as described.'
@@ -23814,7 +23857,7 @@ components:
2381423857
example: 2048
2381523858
type: 'integer'
2381623859
max_tool_calls:
23817-
description: 'Maximum number of tool-calling steps the subagent may take during its agentic loop. Capped at 25. Only relevant when the subagent is given tools. Accepted and validated but not yet enforced on the subagent call.'
23860+
description: 'Maximum number of tool-calling steps the subagent may take during its agentic loop. Capped at 25. Only relevant when the subagent is given tools. Forwarded to the subagent call as `max_tool_calls`.'
2381823861
example: 5
2381923862
maximum: 25
2382023863
minimum: 1

0 commit comments

Comments
 (0)