nsmcp::ToolRegistry method list (public)
<instance of nsmcp::ToolRegistry> list context authorizer
Defined in /usr/local/ns/tcl/nsmcp/01-tools.tcl
List the tools available to an authenticated caller. Refresh providers and apply administrative enable flags and the supplied authorizer.
- 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.
- Returns:
- A rooted JSON object containing the tools array.
- Testcases:
- No testcase defined.
![[i]](/resources/acs-subsite/ZoomIn16.gif)