MCPcopy
hub / github.com/CopilotKit/CopilotKit / defineBotCommand

Function defineBotCommand

packages/bot/src/commands.ts:59–63  ·  view source on GitHub ↗
(
  command: BotCommand<Schema>,
)

Source from the content-addressed store, hash-verified

57 * ```
58 */
59export function defineBotCommand<Schema extends ObjectSchema>(
60 command: BotCommand<Schema>,
61): BotCommand<Schema> {
62 return command;
63}
64
65/**
66 * Platform-neutral descriptor an adapter may use to register a command with the

Callers 3

index.tsFile · 0.90
create-bot.test.tsFile · 0.85
commands.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…