Expand description
Reads the Codex tool namespaces that a Responses request decoder records.
Codex groups tools into namespace containers. The Responses codec in
switchyard-translation flattens each child to <namespace>__<tool> and
stores the mapping in the request’s ProviderExtensions. Code that does not
depend on the translation crate uses these helpers to recover the tool name.
Constants§
- NAMESPACE_
SEPARATOR - Separator between a namespace and a tool name in a qualified wire name.
- TOOL_
NAMESPACES_ KEY - Request extension key holding the qualified-name to namespace mapping.
Functions§
- split_
qualified_ name - Splits a qualified wire name back into its tool name and namespace.
- tool_
namespaces - Reads the mapping back off a request’s extensions.