Add items and title to ToolParameter/ToolParamDefinition

This commit is contained in:
Tami Takamiya 2025-07-31 14:03:04 -04:00
parent 6b855af96f
commit 30768cc8c6
No known key found for this signature in database
GPG key ID: B23C22B8CB1E70C7
5 changed files with 18 additions and 0 deletions

View file

@ -798,6 +798,8 @@ class ChatAgent(ShieldRunnerMixin):
param_type=param.parameter_type,
description=param.description,
required=param.required,
items=param.items,
title=param.title,
default=param.default,
)
for param in tool_def.parameters
@ -841,6 +843,8 @@ class ChatAgent(ShieldRunnerMixin):
param_type=param.parameter_type,
description=param.description,
required=param.required,
items=param.items,
title=param.title,
default=param.default,
)
for param in tool_def.parameters