# Metaphor

Metaphor is a neural search engine that enables developers to perform contextually relevant searches by understanding how people describe and share content online.

- **Category:** artificial intelligence
- **Auth:** API_KEY
- **Composio Managed App Available?** N/A
- **Tools:** 1
- **Triggers:** 0
- **Slug:** `METAPHOR`
- **Version:** 20260407_00

## Tools

### Get document contents by IDs

**Slug:** `METAPHOR_GET_CONTENTS`

Tool to retrieve parsed HTML/text contents and metadata for documents by their IDs." Use when you need to fetch the full text and metadata of multiple documents at once.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `endChar` | integer | No | Character index to end returned text (exclusive). Must be >= 0. |
| `contents` | array | Yes | List of Metaphor IDs or URLs to fetch content for. Must contain between 1 and 1000 items. |
| `startChar` | integer | No | Character index to start returned text (inclusive). Must be >= 0. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |
