MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / fsListInputSchema

Function fsListInputSchema

app/src/AI/ToolDispatcher.cpp:444–454  ·  view source on GitHub ↗

* @brief Input schema for fs.list. */

Source from the content-addressed store, hash-verified

442 * @brief Input schema for fs.list.
443 */
444static QJsonObject fsListInputSchema()
445{
446 QJsonObject props;
447 props[QStringLiteral("path")] = makeProperty(
448 QStringLiteral("string"),
449 QStringLiteral("Directory path relative to the workspace folder (default '.'), or an "
450 "absolute path the user dragged into the chat."));
451 props[QStringLiteral("recursive")] = makeProperty(
452 QStringLiteral("boolean"), QStringLiteral("Recurse into subdirectories (bounded depth)."));
453 return makeObjectSchema(props);
454}
455
456/**
457 * @brief Input schema for fs.read.

Callers 1

fsToolDefsFunction · 0.85

Calls 2

makePropertyFunction · 0.85
makeObjectSchemaFunction · 0.85

Tested by

no test coverage detected