Allows you to equip all your agents under a box with external tools that the agents can call based on the context. these tools are defined executed on the client-side and called client-side actions. What are client-side actions.

Arguments

func
Function
required

Specifies the function to be executed when the agent calls the added tool. This function can perform any logic you define, but it will always receive its arguments as an object that has been validated against the provided tool schema.

Remember that this function is executed on the client-side.

schema
ToolSchema
required

Defines the schema for the tool. The schema is a critical element as it determines the expected parameters (inputs) for the tool function and tells the agent what the tool is about and when to call it. and is also used to validate the arguments sent from the agent.

Recommended resources:

Reference to ToolSchema

createActionSchema

How to build my tools

Behaviour

If you add more than 5 tools to a box, Scoopika will select the top 5 most relevant tools for each run based on the inputs.

Was this page helpful?