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

Function datasetInputSchema

app/src/AI/ToolDispatcher.cpp:128–145  ·  view source on GitHub ↗

* @brief Input schema for assistant.dataset.resolve. */

Source from the content-addressed store, hash-verified

126 * @brief Input schema for assistant.dataset.resolve.
127 */
128static QJsonObject datasetInputSchema()
129{
130 QJsonObject props;
131 props[QStringLiteral("path")] =
132 makeProperty(QStringLiteral("string"),
133 QStringLiteral("Preferred human address: 'Group/Dataset' or "
134 "'Source/Group/Dataset'. A bare name without '/' falls back "
135 "to an exact title match."));
136 props[QStringLiteral("title")] =
137 makeProperty(QStringLiteral("string"), QStringLiteral("Exact dataset title."));
138 props[Keys::UniqueId] =
139 makeProperty(QStringLiteral("integer"), QStringLiteral("Opaque dataset uniqueId."));
140 props[QStringLiteral("groupId")] =
141 makeProperty(QStringLiteral("integer"), QStringLiteral("Optional group filter."));
142 props[Keys::SourceId] =
143 makeProperty(QStringLiteral("integer"), QStringLiteral("Optional source filter."));
144 return makeObjectSchema(props);
145}
146
147/**
148 * @brief Input schema for assistant.workspace.resolve.

Callers 1

assistantToolDefsFunction · 0.85

Calls 2

makePropertyFunction · 0.85
makeObjectSchemaFunction · 0.85

Tested by

no test coverage detected