nsmcp::Tool method init (protected)

 <instance of nsmcp::Tool[i]> init

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

Testcases:
No testcase defined.
Source code:
next
# Source schemas are JSON text; runtime consumers use typed triples.
# Subclasses overriding init must chain here with next.
set :inputSchema [ns_json parse -output triples -- ${:inputSchema}]
if {[lindex ${:inputSchema} 1] ne "object"} {
    error "Tool inputSchema must be a JSON object"
}
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: