MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / ask

Method ask

src/bot/types.ts:85–85  ·  view source on GitHub ↗

Called when the agent needs a yes/no (permission). Returns the chosen option.

(prompt: string, options: string[])

Source from the content-addressed store, hash-verified

83 onDelta(text: string): void | Promise<void>;
84 /** Called when the agent needs a yes/no (permission). Returns the chosen option. */
85 ask(prompt: string, options: string[]): Promise<string>;
86 /** Called for a short status line (tool start, notice). */
87 onStatus(text: string): void | Promise<void>;
88 /** Called once at the end of a turn that produced a live artifact — the bot renders a rich card

Callers 2

askUserMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected