MCPcopy Create free account
hub / github.com/Luce-Org/lucebox-hub / shell_tools

Function shell_tools

server/test/test_server_unit.cpp:130–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128}
129
130static json shell_tools() {
131 return json::array({
132 {
133 {"name", "shell"},
134 {"description", "Run one read-only shell command in the repository."},
135 {"input_schema", {
136 {"type", "object"},
137 {"properties", {
138 {"command", {
139 {"type", "string"},
140 {"description", "The shell command to run."}
141 }}
142 }},
143 {"required", json::array({"command"})},
144 {"additionalProperties", false}
145 }}
146 }
147 });
148}
149
150static json optional_shell_tools() {
151 json tools = shell_tools();

Calls

no outgoing calls

Tested by

no test coverage detected