Plandex · Schema

ContextItem

A single item loaded into a Plandex plan's context: a file, directory tree, directory map, URL, note, image, or piped data.

Artificial IntelligenceAI Coding AgentDeveloper ToolsOpen-SourceCLITerminalLLMCoding AssistantAgentsGoContext ManagementPlansSelf-HostedREST

Properties

Name Type Description
id string
planId string
branch string
name string
type string Source type of the loaded context.
path string Path or URL of the source.
body string Loaded body (may be omitted in list views to save tokens).
tokens integer
tokensCached boolean Whether the body is cached against the model provider's prompt cache.
imageDetail string
addedAt string
updatedAt string
View JSON Schema on GitHub

JSON Schema

plandex-server-context-item-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/plandex/main/json-schema/plandex-server-context-item-schema.json",
  "title": "ContextItem",
  "description": "A single item loaded into a Plandex plan's context: a file, directory tree, directory map, URL, note, image, or piped data.",
  "type": "object",
  "required": ["id", "type"],
  "properties": {
    "id": {"type": "string"},
    "planId": {"type": "string"},
    "branch": {"type": "string"},
    "name": {"type": "string"},
    "type": {
      "type": "string",
      "enum": ["file", "directoryTree", "directoryMap", "url", "note", "image", "pipedData"],
      "description": "Source type of the loaded context."
    },
    "path": {"type": "string", "description": "Path or URL of the source."},
    "body": {"type": "string", "description": "Loaded body (may be omitted in list views to save tokens)."},
    "tokens": {"type": "integer", "minimum": 0},
    "tokensCached": {"type": "boolean", "description": "Whether the body is cached against the model provider's prompt cache."},
    "imageDetail": {"type": "string", "enum": ["high", "low"]},
    "addedAt": {"type": "string", "format": "date-time"},
    "updatedAt": {"type": "string", "format": "date-time"}
  },
  "additionalProperties": false
}

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/plandex-server-context-item"
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 email required.

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