> ## Documentation Index
> Fetch the complete documentation index at: https://codearchitect.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# API Reference

> Complete API documentation for CodeArchitect MCP tools

## Available Tools

<CardGroup cols={2}>
  <Card title="codearchitect_help" icon="circle-question" href="/api-reference/codearchitect-help">
    Discover available features - Start here with `use codearchitect`
  </Card>

  <Card title="store_session" icon="floppy-disk" href="/api-reference/store-session">
    Store AI conversation sessions in topic-named folders
  </Card>

  <Card title="get_session" icon="file-lines" href="/api-reference/get-session">
    Retrieve sessions with TOON format support (\~40% token reduction)
  </Card>

  <Card title="search_session" icon="magnifying-glass" href="/api-reference/search-session">
    Full-text search across all sessions with relevance scoring
  </Card>
</CardGroup>

## Format

All tools follow MCP standard:

* **Request**: JSON-RPC 2.0
* **Response**: Structured JSON with success/error
* **Auth**: None required (local only)

## Response Format

**Success:**

```json theme={null}
{
  "success": true,
  "data": { ... },
  "message": "Operation completed"
}
```

**Error:**

```json theme={null}
{
  "success": false,
  "error": "ERROR_CODE",
  "message": "Error description"
}
```
