MCPcopy Index your code
hub / github.com/anomalyco/opencode / runQuestion

Function runQuestion

packages/opencode/src/cli/cmd/run/tool.ts:418–424  ·  view source on GitHub ↗
(p: ToolProps<typeof QuestionTool>)

Source from the content-addressed store, hash-verified

416}
417
418function runQuestion(p: ToolProps<typeof QuestionTool>): ToolInline {
419 const total = list(p.frame.input.questions).length
420 return {
421 icon: "→",
422 title: `Asked ${total} question${total === 1 ? "" : "s"}`,
423 }
424}
425
426function runInvalid(p: ToolProps<typeof InvalidTool>): ToolInline {
427 return {

Callers

nothing calls this directly

Calls 1

listFunction · 0.70

Tested by

no test coverage detected