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

Function fsDeleteInputSchema

app/src/AI/ToolDispatcher.cpp:510–517  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

508 * @brief Input schema for fs.delete.
509 */
510static QJsonObject fsDeleteInputSchema()
511{
512 QJsonObject props;
513 props[QStringLiteral("path")] =
514 makeProperty(QStringLiteral("string"),
515 QStringLiteral("File or empty directory under the 'AI/' subfolder to delete."));
516 return makeObjectSchema(props, QJsonArray{QStringLiteral("path")});
517}
518
519/**
520 * @brief Returns the fs.* virtual-tool catalog exposed to assistant providers.

Callers 1

fsToolDefsFunction · 0.85

Calls 2

makePropertyFunction · 0.85
makeObjectSchemaFunction · 0.85

Tested by

no test coverage detected