@@ -193,6 +193,7 @@ components:
193193 - $ref: '#/components/schemas/ShellServerTool'
194194 - $ref: '#/components/schemas/ApplyPatchServerTool'
195195 - $ref: '#/components/schemas/CustomTool'
196+ - $ref: '#/components/schemas/NamespaceTool'
196197 - $ref: '#/components/schemas/AdvisorServerTool_OpenRouter'
197198 - $ref: '#/components/schemas/SubagentServerTool_OpenRouter'
198199 - $ref: '#/components/schemas/DatetimeServerTool'
@@ -3746,6 +3747,7 @@ components:
37463747 - $ref: '#/components/schemas/ShellServerTool'
37473748 - $ref: '#/components/schemas/ApplyPatchServerTool'
37483749 - $ref: '#/components/schemas/CustomTool'
3750+ - $ref: '#/components/schemas/NamespaceTool'
37493751 type: array
37503752 top_logprobs:
37513753 type: integer
@@ -13607,6 +13609,78 @@ components:
1360713609 required:
1360813610 - data
1360913611 type: object
13612+ NamespaceFunctionTool:
13613+ description: A function tool grouped inside a namespace tool
13614+ example:
13615+ name: spawn_agent
13616+ type: function
13617+ properties:
13618+ allowed_callers:
13619+ items:
13620+ enum:
13621+ - direct
13622+ - programmatic
13623+ type: string
13624+ nullable: true
13625+ type: array
13626+ defer_loading:
13627+ type: boolean
13628+ description:
13629+ nullable: true
13630+ type: string
13631+ name:
13632+ type: string
13633+ output_schema:
13634+ additionalProperties:
13635+ nullable: true
13636+ nullable: true
13637+ type: object
13638+ parameters:
13639+ additionalProperties:
13640+ nullable: true
13641+ nullable: true
13642+ type: object
13643+ strict:
13644+ nullable: true
13645+ type: boolean
13646+ type:
13647+ enum:
13648+ - function
13649+ type: string
13650+ required:
13651+ - type
13652+ - name
13653+ type: object
13654+ NamespaceTool:
13655+ description: Groups function/custom tools under a shared namespace
13656+ example:
13657+ description: Tools for spawning and managing sub-agents.
13658+ name: multi_agent_v1
13659+ tools:
13660+ - name: spawn_agent
13661+ type: function
13662+ type: namespace
13663+ properties:
13664+ description:
13665+ type: string
13666+ name:
13667+ type: string
13668+ tools:
13669+ items:
13670+ anyOf:
13671+ - $ref: '#/components/schemas/NamespaceFunctionTool'
13672+ - $ref: '#/components/schemas/CustomTool'
13673+ type: array
13674+ type:
13675+ enum:
13676+ - namespace
13677+ type: string
13678+ required:
13679+ - type
13680+ - name
13681+ - description
13682+ - tools
13683+ type: object
1361013684 NotFoundResponse:
1361113685 description: Not Found - Resource does not exist
1361213686 example:
@@ -20586,6 +20660,7 @@ components:
2058620660 - $ref: '#/components/schemas/ShellServerTool'
2058720661 - $ref: '#/components/schemas/ApplyPatchServerTool'
2058820662 - $ref: '#/components/schemas/CustomTool'
20663+ - $ref: '#/components/schemas/NamespaceTool'
2058920664 - $ref: '#/components/schemas/AdvisorServerTool_OpenRouter'
2059020665 - $ref: '#/components/schemas/SubagentServerTool_OpenRouter'
2059120666 - $ref: '#/components/schemas/DatetimeServerTool'
0 commit comments