Skip to content
Français

ToolResources

import type { ToolResources } from "@elie-laloum/outpost/harness";
  • pathsOptional
    readonly string[] | undefined
    Repository-relative paths the call reads or writes.
  • commandOptional
    string | undefined
    Command line the call runs, for command permission rules.
  • mcpServerOptional
    string | undefined
    Declared MCP server selected by a resource or prompt tool. Built-in profile permissions check this name, including inherited parent profiles; it does not grant access by itself or add a declarative permission rule.
export interface ToolResources {
  readonly paths?: readonly string[];
  readonly command?: string;
  readonly mcpServer?: string;
}