vEth
02/05/2026, 11:51 PMCookie Monster
02/06/2026, 3:15 AMvEth
02/06/2026, 3:38 AMvEth
02/06/2026, 3:42 AMCookie Monster
02/06/2026, 5:38 AMctx.tools
Here is a video by boundary that goes deep into the topic
https://github.com/ai-that-works/ai-that-works/tree/main/2025-05-27-mcp-with-10000-tools
You can create tools dynamically using type builder and select the appropriate tool using various method like embedding etc, not just LLM to narrow your selection.
The prompt could be something like below:
function PickAction(state: string) -> Actions | HumanMessage {
client "openai/gpt-4o"
prompt #"
Help the user by picking an action for the following.
{{ _.role('user') }}
{{ state }}
You are an agent with access to any number of tools.
{{ ctx.output_format }}
"#
}
Hope this helpsvEth
02/06/2026, 8:06 AMvEth
02/06/2026, 8:10 AMvEth
03/09/2026, 12:31 AM