Builds the full tool set for an agent's available Actions, with the reverse map.
A post-sanitization collision is a hard error (§8.2), not a silent disambiguation. Two
Actions whose names differ only by punctuation would otherwise produce one tool name, and every
call to it would dispatch whichever Action happened to be registered last — a routing bug that
looks like a model error and would be found, if at all, by someone reading eval failures.
Failing at build time turns it into a metadata problem with a name attached.
Builds the full tool set for an agent's available Actions, with the reverse map.
A post-sanitization collision is a hard error (§8.2), not a silent disambiguation. Two Actions whose names differ only by punctuation would otherwise produce one tool name, and every call to it would dispatch whichever Action happened to be registered last — a routing bug that looks like a model error and would be found, if at all, by someone reading eval failures. Failing at build time turns it into a metadata problem with a name attached.