Don't require object type for parameter in categorized names tool

This commit is contained in:
Nicolas Mowen
2026-09-12 07:30:04 -06:00
parent 3dffa52eac
commit 15c41c9850
2 changed files with 7 additions and 23 deletions
+3 -7
View File
@@ -354,16 +354,12 @@ def get_tool_definitions(
"description": (
"Every name that can be attached as a sub_label, grouped by object "
"type: recognized faces, named license plates, classification "
"categories, and delivery logos."
"categories, and delivery logos. Takes no arguments and always "
"returns the complete map."
),
"parameters": {
"type": "object",
"properties": {
"object_type": {
"type": "string",
"description": "Optional object label (e.g. 'person', 'car'). Omit for all.",
},
},
"properties": {},
"required": [],
},
},