MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / getBuiltInCommands

Function getBuiltInCommands

src/services/command/built-in-commands.ts:292–301  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

290 * Get all built-in commands as Command objects
291 */
292export async function getBuiltInCommands(): Promise<Command[]> {
293 return Object.values(BUILT_IN_COMMANDS).map((cmd) => ({
294 name: cmd.name,
295 content: cmd.content,
296 source: "built-in" as const,
297 filePath: `<built-in:${cmd.name}>`,
298 description: cmd.description,
299 argumentHint: cmd.argumentHint,
300 }))
301}
302
303/**
304 * Get a specific built-in command by name

Callers 2

getCommandsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected