> ## Documentation Index
> Fetch the complete documentation index at: https://docs.inboxmate.psquared.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Knowledge

> List and retrieve knowledge entries via the MCP API.

## list\_knowledge

List knowledge entries in your workspace with optional filters.

**Parameters:**

<ParamField body="search" type="string">
  Search by title or content.
</ParamField>

<ParamField body="type" type="string">
  Filter by type: `text`, `url`, or `file`.
</ParamField>

**Example request:**

```json theme={null}
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "name": "list_knowledge",
    "arguments": {
      "search": "pricing"
    }
  },
  "id": 1
}
```

**Example response:**

```json theme={null}
{
  "knowledge": [
    {
      "id": "k-1",
      "title": "Pricing FAQ",
      "type": "text",
      "sourceUrl": null,
      "createdAt": "2025-01-12T11:00:00Z",
      "updatedAt": "2025-01-18T15:30:00Z"
    }
  ],
  "total": 1
}
```

***

## get\_knowledge

Get a specific knowledge entry with its full content.

**Parameters:**

<ParamField body="knowledgeId" type="string" required>
  The ID of the knowledge entry to retrieve.
</ParamField>

**Example request:**

```json theme={null}
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "name": "get_knowledge",
    "arguments": {
      "knowledgeId": "k-1"
    }
  },
  "id": 2
}
```

**Example response:**

```json theme={null}
{
  "id": "k-1",
  "title": "Pricing FAQ",
  "content": "Our plans start at $29/month for the Starter plan...",
  "type": "text",
  "sourceUrl": null,
  "createdAt": "2025-01-12T11:00:00Z",
  "updatedAt": "2025-01-18T15:30:00Z"
}
```
