For AI agents: a documentation index is available at the root level at /llms.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Logo

nemo_relay.tools

||View as Markdown|

Generated from python/nemo_relay/tools.py.

Module nemo_relay.tools.

Tool lifecycle helpers.

Functions

call

1def call(name, args, *, handle = None, attributes = None, data = None, metadata = None, tool_call_id = None, timestamp: datetime | None = None)

Start a manual tool span and return its ToolHandle.

call_end

1def call_end(handle, result, *, data = None, metadata = None, timestamp: datetime | None = None)

Finish a manual tool span started by call().

execute

1def execute(name, args, func, *, handle = None, attributes = None, data = None, metadata = None)

Run a tool through the managed middleware pipeline.

request_intercepts

1def request_intercepts(name, args)

Apply global tool request intercepts to args.

conditional_execution

1def conditional_execution(name, args)

Run tool conditional-execution guardrails for args.

Morty Proxy This is a proxified and sanitized view of the page, visit original site.