{
  "namespace": "tabLocalAgents",
  "types": [
    {
      "id": "tabLocalAgents.AgentId",
      "type": "string",
      "enum": [
        "management-page",
        "deepseek-harness"
      ]
    },
    {
      "id": "tabLocalAgents.OpenOptions",
      "type": "object",
      "properties": {
        "agentId": {
          "$ref": "tabLocalAgents.AgentId"
        }
      }
    }
  ],
  "functions": [
    {
      "name": "externalAgentRequest",
      "type": "function",
      "parameters": [
        {
          "name": "requestJson",
          "type": "string"
        }
      ],
      "returns_async": {
        "name": "callback",
        "parameters": [
          {
            "name": "result",
            "type": "object",
            "additionalProperties": {
              "type": "any"
            }
          }
        ]
      }
    },
    {
      "name": "open",
      "type": "function",
      "parameters": [
        {
          "name": "options",
          "$ref": "tabLocalAgents.OpenOptions"
        }
      ],
      "returns_async": {
        "name": "callback",
        "parameters": []
      }
    }
  ]
}