package
Version:
v0.2.1
Opens a new window with list of versions in this module.
Published: Oct 27, 2026
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package toolmiddleware shares tool wrappers and invocation metadata between
agent middleware and tool execution.
CallIDFromContext returns the call ID for the current tool invocation.
WithCallID associates the current tool invocation's call ID with ctx.
Wrapper is an internal run option applied by tool execution to each function
tool, independently of how the tool was registered.
MAFValue implements agent.Option without depending on the agent package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.