nsmcp::CodeUpstreamTool method describe (public)

 <instance of nsmcp::CodeUpstreamTool[i]> describe

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

Describe the upstream comparison tool and its network annotation. Start with the base descriptor and mark the configured GitHub comparison as an open-world operation.

Returns:
The rooted JSON tool descriptor.

Testcases:
No testcase defined.
Source code:
set description [next]
set fields {}
foreach {key type value} [lindex $description 2] {
    if {$key eq "annotations"} {
        set value {readOnlyHint boolean true destructiveHint boolean false openWorldHint boolean true}
    }
    lappend fields $key $type $value
}
return [list {} object $fields]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: