PostHog · Schema

TaskRunCommandRequest

JSON-RPC request to send a command to the agent server in the sandbox.

A/B TestingAnalyticsFeature FlagsOpen-SourceProduct AnalyticsSession Recording

Properties

Name Type Description
jsonrpc object JSON-RPC version, must be '2.0' * `2.0` - 2.0
method object Command method to execute on the agent server * `user_message` - user_message * `cancel` - cancel * `close` - close * `permission_response` - permission_response * `set_config_option` - set_config_opt
params object Parameters for the command
id object Optional JSON-RPC request ID (string or number)
View JSON Schema on GitHub

JSON Schema

posthog-taskruncommandrequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/TaskRunCommandRequest",
  "title": "TaskRunCommandRequest",
  "type": "object",
  "description": "JSON-RPC request to send a command to the agent server in the sandbox.",
  "properties": {
    "jsonrpc": {
      "allOf": [
        {
          "$ref": "#/components/schemas/JsonrpcEnum"
        }
      ],
      "description": "JSON-RPC version, must be '2.0'\n\n* `2.0` - 2.0"
    },
    "method": {
      "allOf": [
        {
          "$ref": "#/components/schemas/MethodEnum"
        }
      ],
      "description": "Command method to execute on the agent server\n\n* `user_message` - user_message\n* `cancel` - cancel\n* `close` - close\n* `permission_response` - permission_response\n* `set_config_option` - set_config_option"
    },
    "params": {
      "type": "object",
      "additionalProperties": true,
      "description": "Parameters for the command"
    },
    "id": {
      "description": "Optional JSON-RPC request ID (string or number)"
    }
  },
  "required": [
    "jsonrpc",
    "method"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/posthog-taskruncommandrequest"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.