MCPcopy Index your code
hub / github.com/MatterAIOrg/OrbCode / ToolContext

Interface ToolContext

src/tools/types.ts:3–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import * as path from "node:path"
2
3export interface ToolContext {
4 cwd: string
5 token: string
6 /** current session todo list (markdown checklist) */
7 getTodos: () => string
8 setTodos: (todos: string) => void
9}
10
11export interface ToolResult {
12 /** text returned to the model as the tool result */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected