Class BuiltInTools

java.lang.Object
com.github.copilot.rpc.BuiltInTools

public final class BuiltInTools extends Object
Curated sets of built-in tool names for common scenarios. Each constant is meant to be passed to ToolSet.addBuiltIn(java.util.Collection).
Since:
1.3.0
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final List<String>
    Built-in tools that operate only within the bounds of a single session — no host filesystem access outside the session, no cross-session state, no host environment access, no network.
  • Method Summary

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • ISOLATED

      public static final List<String> ISOLATED
      Built-in tools that operate only within the bounds of a single session — no host filesystem access outside the session, no cross-session state, no host environment access, no network. Safe to enable in CopilotClientMode.EMPTY scenarios (e.g. multi-tenant servers) without leaking host capabilities.

      Contract: tools in this set MUST NOT be extended (even behind options or args) to read or write state outside the session boundary. Adding cross-session or host-state behavior to one of these tools is a breaking change that requires removing it from this set.