trace_add_workspace

[debug]

Registers an additional trusted workspace root at runtime (like glider load) so trace tools can target a sibling repository without restarting the server. Requires the server started with --allow-runtime-workspaces and acknowledge=true.

Why this tool exists

Runtime evidence workflows need a quick way to confirm workspace, artifact, retention, and diagnostics capability before collecting data.

How it helps the agent

The model can verify that GliderTrace is ready and see local capability limits before starting expensive or sensitive capture work.

Try it locally in the GliderTrace playground

Parameters

NameTypeRequiredDescription
pathstringYesAbsolute path to a workspace directory containing a .git, .sln, .slnx, or .csproj at its root.
acknowledgebooleanNoMust be true to confirm this intended, sandbox-widening action.

Examples

Register a sibling repository at runtime

Request
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "trace_add_workspace",
    "arguments": {
      "path": "C:/code/daisy",
      "acknowledge": true
    }
  }
}

Response Notes

Returns the registered path, whether it was newly added, and the current list of trusted workspace roots.

↑/↓ NavigateEnter OpenSpace Expand