nsmcp::CodeDefinitionTool method validate (public)
<instance of nsmcp::CodeDefinitionTool> validate arguments
Defined in /usr/local/ns/tcl/nsmcp/code-tools.tcl
Validate definition lookup and excerpt bounds. Decode the rooted JSON argument object and enforce this tool's option, range and combination constraints.
- Parameters:
- arguments (required)
- Rooted ns_json typed triples for the tool's JSON argument object.
- Returns:
- An empty result on success; invalid input raises RPC error -32602.
- Testcases:
- No testcase defined.
![[i]](/resources/acs-subsite/ZoomIn16.gif)