MCPcopy Create free account
hub / github.com/callstack/agent-device / fieldsInputSchema

Function fieldsInputSchema

src/commands/command-input.ts:241–243  ·  view source on GitHub ↗
(fields: CommandFieldMap)

Source from the content-addressed store, hash-verified

239}
240
241export function fieldsInputSchema(fields: CommandFieldMap): JsonSchema {
242 return commandInputSchema(fieldProperties(fields), requiredFieldNames(fields));
243}
244
245export function readFieldInput<TFields extends CommandFieldMap>(
246 input: unknown,

Callers 3

metadata.tsFile · 0.90

Calls 3

commandInputSchemaFunction · 0.85
fieldPropertiesFunction · 0.85
requiredFieldNamesFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…