-
Notifications
You must be signed in to change notification settings - Fork 400
Closed
Labels
Description
How do I properly define a tool with no input parameters? The SDK doesn't permit to omit the parameters
attribute in the tool definition. I tried to define an empty Zod object as a schema, which is accepted, but the tool is never get called that way.
My use cases is that I need to extract some data from the run context but don't want to pass this data through the LLM inference.
How do I instruct the LLM to call a tool with no parameters accepted?