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

Function fsSearchInputSchema

app/src/AI/ToolDispatcher.cpp:479–490  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

477 * @brief Input schema for fs.search.
478 */
479static QJsonObject fsSearchInputSchema()
480{
481 QJsonObject props;
482 props[QStringLiteral("query")] =
483 makeProperty(QStringLiteral("string"),
484 QStringLiteral("Text to find (case-insensitive) across the "
485 "workspace and dragged-in paths."));
486 props[QStringLiteral("isRegex")] = makeProperty(
487 QStringLiteral("boolean"),
488 QStringLiteral("Treat query as a regular expression instead of a literal string."));
489 return makeObjectSchema(props, QJsonArray{QStringLiteral("query")});
490}
491
492/**
493 * @brief Input schema for fs.write and fs.append.

Callers 1

fsToolDefsFunction · 0.85

Calls 2

makePropertyFunction · 0.85
makeObjectSchemaFunction · 0.85

Tested by

no test coverage detected