Skip to main content
Dotset CLI API Documentation / tollgate / ToolCallContext

Interface: ToolCallContext

Defined in: src/tollgate/policy/types.ts:377 Context for a tool call being evaluated. Captures all relevant information about a tool invocation for policy evaluation, approval prompts, and audit logging.

Properties

args

args: Record<string, unknown>;
Defined in: src/tollgate/policy/types.ts:385 Arguments passed to the tool

server

server: string;
Defined in: src/tollgate/policy/types.ts:379 Name of the MCP server

timestamp

timestamp: Date;
Defined in: src/tollgate/policy/types.ts:388 Timestamp of the request

tool

tool: string;
Defined in: src/tollgate/policy/types.ts:382 Name of the tool being invoked