FileAgentSchema
File-Agent relationship with human-readable ID for agent file
Artificial IntelligenceAgentsStateful AgentsMemoryMemGPTContinual LearningMCPMulti-AgentRAGOpen-Source
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/FileAgentSchema",
"title": "FileAgentSchema",
"properties": {
"agent_id": {
"type": "string",
"title": "Agent Id",
"description": "Unique identifier of the agent."
},
"file_id": {
"type": "string",
"title": "File Id",
"description": "Unique identifier of the file."
},
"source_id": {
"type": "string",
"title": "Source Id",
"description": "Deprecated: Use `folder_id` field instead. Unique identifier of the source.",
"deprecated": true
},
"file_name": {
"type": "string",
"title": "File Name",
"description": "Name of the file."
},
"is_open": {
"type": "boolean",
"title": "Is Open",
"description": "True if the agent currently has the file open.",
"default": true
},
"visible_content": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Visible Content",
"description": "Portion of the file the agent is focused on (may be large)."
},
"last_accessed_at": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Last Accessed At",
"description": "UTC timestamp of the agent's most recent access to this file."
},
"start_line": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Start Line",
"description": "Starting line number (1-indexed) when file was opened with line range."
},
"end_line": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "End Line",
"description": "Ending line number (exclusive) when file was opened with line range."
},
"id": {
"type": "string",
"title": "Id",
"description": "Human-readable identifier for this file-agent relationship in the file"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"agent_id",
"file_id",
"source_id",
"file_name",
"id"
],
"description": "File-Agent relationship with human-readable ID for agent file"
}
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/letta-fileagentschema"
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.