© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Help: Generation-specific tools - Mastra
M
Mastra
•
5mo ago
•
3 replies
unlimitedkazah
Help: Generation-specific tools
I have a workflow where I dynamically create tools and want to pass them to the
agent.generate()
agent.generate()
call
. I thought I should use
clientTools
clientTools
, but the tool is not executed even though in the observability view I can see that LLM actually issues a tool call
.
I guess client tools are not meant to be ran on the server
. But how can I pass tools to the
agent.generate()
agent.generate()
call then
?
Mastra
Join
The TypeScript Agent FrameworkFrom the team that brought you Gatsby: prototype and productionize AI features with a modern JavaScript stack.
5,321
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
Feature Request: ToolSearchProcessor support for dynamic/MCP tools
M
Mastra / help-bugs-problems
2d ago
requireApproval property not working for tools passed via toolsets parameter
M
Mastra / help-bugs-problems
5mo ago
Tools from AI SDK v5/v6 provider not compatible with ToolSearchProcessor
M
Mastra / help-bugs-problems
2w ago
HELP: sub agent calls supervisor agent tools
M
Mastra / help-bugs-problems
5mo ago