nsmcp::CodeQueryDefinitionTool method execute (public)
<instance of nsmcp::CodeQueryDefinitionTool> execute context \ arguments
Defined in /usr/local/ns/tcl/nsmcp/code-query.tcl
Retrieve SQL resolved through active OpenACS XQL mappings. Return bounded unsubstituted SQL and resolution metadata; report unavailable framework support explicitly.
- Parameters:
- context (required)
- Authenticated request context carrying the principal, grants and selected server.
- arguments (required)
- Rooted ns_json typed triples for the tool's JSON argument object.
- Returns:
- A rooted JSON tool-result object, including availability or job metadata as appropriate.
- Testcases:
- No testcase defined.
![[i]](/resources/acs-subsite/ZoomIn16.gif)