Skip to main content

admit_external_tool

Function admit_external_tool 

Source
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.