Add a reusable per-tool timeout helper
Is your feature request related to a problem? Please describe.
A single slow tool can keep a ToolsNode waiting much longer than expected, especially when tools are calling external APIs or MCP servers.
It's possible to handle this today with custom middleware and context.WithTimeout, but it feels like something most production agents will eventually need anyway.
Describe the solution you'd like
It would be nice to have a small built-in timeout middleware/helper for tool calls. The timeout should apply to each tool call independently, so one slow tool doesn't share the same deadline with the rest of a parallel batch.
For normal tools, a child context with a deadline should be enough. Streaming tools are a bit trickier, but ideally the timeout would cover the stream lifetime too.
No special hard-kill behavior needed - normal Go context cancellation seems fine.
Describe alternatives you've considered
Custom tool middleware already works, so this isn't really about adding a missing capability. It's more about avoiding the same timeout wrapper in every project.
Using a timeout on the parent context also works, but then you're timing out the whole run instead of the individual tool.
Additional context
This overlaps a little with #1137 around stuck tool execution, but I'm thinking about this as a general ToolsNode reliability helper rather than a fix for that specific case.
Source: cloudwego/eino