MCPcopy Index your code
hub / github.com/callstack/agent-device / interactionTargetSchema

Function interactionTargetSchema

src/commands/command-input.ts:621–638  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

619}
620
621function interactionTargetSchema(): JsonSchema {
622 return {
623 oneOf: [
624 ...elementTargetSchemaVariants(),
625 {
626 type: 'object',
627 properties: {
628 kind: { type: 'string', const: 'point' },
629 x: { type: 'number' },
630 y: { type: 'number' },
631 },
632 required: ['kind', 'x', 'y'],
633 additionalProperties: false,
634 },
635 ],
636 description: 'UI target. This is separate from deviceTarget, which selects the device form.',
637 };
638}
639
640function elementTargetSchema(): JsonSchema {
641 return {

Callers 1

interactionTargetFieldFunction · 0.85

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…