nsmcp::ToolRegistry method call (public)

 <instance of nsmcp::ToolRegistry[i]> call context authorizer name \
    arguments

Defined in /usr/local/ns/tcl/nsmcp/01-tools.tcl

Authorize, validate and invoke a registered tool. Check enable state, permissions and question pins before handing arguments to the tool.

Parameters:
context (required)
Authenticated request context carrying the principal, grants and selected server.
authorizer (required)
Authorizer used to enforce the request context's permissions and targets.
name (required)
Name of the configured or registered item to resolve.
arguments (required)
Rooted ns_json typed triples for the tool's JSON argument object.
Returns:
The tool's rooted JSON result; policy and validation failures raise RPC errors.

Testcases:
No testcase defined.
[ show source ]
Show another procedure: