pub fn admit_external_tool(
server_id: &str,
declaration: ExternalToolDeclaration,
session_capabilities: &[Capability],
) -> Result<ToolEntry>Expand description
Admit one external declaration into catalog entries the kernel governs.
The session’s held capabilities bound what may be registered: a declaration whose effect no capability grants is rejected outright — there is no “register now, ask later” path.