Skip to main content

endpoint

Function endpoint 

Source
pub fn endpoint(method: &str, path: &str) -> Option<&'static Endpoint>
Expand description

Finds an HTTP endpoint by method and path.

Separate from mcp_endpoint because a few endpoints are deliberately outside the MCP surface — GET /api/accounts is the roster, which is the operator’s to read and not an agent tool — and the CLI still has to reach them. Looking them up here rather than spelling a path into a command keeps the table the one description of what this node serves.