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

# Get Content

> Retrieve detailed information about specific content

Retrieves detailed information about specific content including its complete structure.

## Input Schema

```json theme={null}
{
  "type": "object",
  "properties": {
    "projectId": {
      "type": "string",
      "description": "Project ID (optional, uses session default)"
    },
    "contentId": {
      "type": "string",
      "description": "Unique identifier of the content"
    }
  },
  "required": ["contentId"]
}
```

## Parameters

| Parameter   | Type   | Required | Description                       |
| ----------- | ------ | -------- | --------------------------------- |
| `projectId` | string | No       | Project ID (uses session default) |
| `contentId` | string | Yes      | Unique identifier of the content  |

## Response

| Field         | Type      | Description                 |
| ------------- | --------- | --------------------------- |
| `id`          | string    | Unique content identifier   |
| `name`        | string    | Display name/title          |
| `description` | string    | Structured description      |
| `typeId`      | string    | Content type identifier     |
| `typeVersion` | number    | Schema version used         |
| `content`     | object    | Structured JSON content     |
| `status`      | string    | Publication status          |
| `tags`        | string\[] | Categorization tags         |
| `metadata`    | object    | Additional metadata         |
| `createdAt`   | string    | ISO 8601 creation timestamp |
| `updatedAt`   | string    | ISO 8601 update timestamp   |

## Example

### Request

```json theme={null}
{
  "contentId": "cont_story_acme_001"
}
```

### Response

```json theme={null}
{
  "id": "cont_story_acme_001",
  "name": "How Acme Corp Unified Multiple Products",
  "description": "Building Acme's Design System...",
  "typeId": "ct_story_001",
  "typeVersion": 1,
  "content": {
    "title": "How Acme Corp Unified Multiple Products",
    "subtitle": "2024: The Digital Transformation",
    "asset": {
      "id": "asset-workspace-001",
      "url": "https://cdn.metabind.ai/org123/proj123/assets/workspace.jpg"
    },
    "components": [
      {
        "type": "StoryParagraph",
        "text": "Acme Corporation's transformation began in early 2024..."
      },
      {
        "type": "StorySubheader",
        "text": "The Challenge: Fragmentation at Scale"
      }
    ]
  },
  "status": "published",
  "tags": ["case-study", "design-system"],
  "metadata": {
    "locale": "en-US",
    "author": "content-team@acme.com"
  },
  "createdAt": "2024-06-10T09:00:00Z",
  "updatedAt": "2024-06-15T10:00:00Z"
}
```

## Usage

### Get Content Details

```javascript theme={null}
const content = await mcp.call("get_content", {
  contentId: "cont_story_acme_001"
});

// Access the structured content
console.log(content.content.title);
// "How Acme Corp Unified Multiple Products"

// Access components
for (const component of content.content.components) {
  console.log(`${component.type}: ${component.text}`);
}
```

### Use as Template

Fetch existing content to use as a template for new content:

```javascript theme={null}
// Get existing content
const template = await mcp.call("get_content", {
  contentId: "cont_story_acme_001"
});

// Create new content based on the structure
await mcp.call("create_content", {
  typeId: template.typeId,
  name: "New Story Title",
  content: {
    ...template.content,
    title: "New Story Title",
    components: [
      // Modified components...
    ]
  }
});
```

<Tip>
  Use `get_content` to understand the structure of existing content before creating new content of the same type. This helps ensure your new content follows established patterns.
</Tip>
