nsmcp::Tool method validate (public)
<instance of nsmcp::Tool> validate arguments
Defined in /usr/local/ns/tcl/nsmcp/lib/tools.tcl
The first tool accepts exactly {}. Subclasses must override this together with inputSchema; no partial JSON Schema validator is claimed.
- Parameters:
- arguments (required)
- Testcases:
- No testcase defined.
Source code: if {[lindex $arguments 1] ne "object" || [lindex $arguments 2] ne ""} { return -code error -errorcode {NSMCP RPC -32602} "Expected an empty arguments object" }XQL Not present: Generic, PostgreSQL, Oracle
![[i]](/resources/acs-subsite/ZoomIn16.gif)