Skip to content

Support FunctionTool default arguments #1481

Open
@d33bs

Description

@d33bs

Currently FunctionTool does not support default arguments. This is backed up from the docs here: https://google.github.io/adk-docs/tools/function-tools/#parameters

It's important to avoid setting default values for parameters, as the language model (LLM) does not currently support interpreting them.

It could be very helpful to include default arguments within FunctionTools. If they can't be supported, it might be infromative to understand more information surrounding why they can't be used (e.g. if it's a design choice or if it's a limitation beyond the scope of google-adk).

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions