nsmcp::CodeSearchTool method validate (public)

 <instance of nsmcp::CodeSearchTool[i]> validate arguments

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

Validate loaded-code search and pagination arguments. 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.
[ show source ]
Show another procedure: