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

# Metaphor

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

![Metaphor logo](https://mintcdn.com/composio-preview/9YPuzjEU4UlMnwGq/images/toolkits/metaphor.svg?fit=max\&auto=format\&n=9YPuzjEU4UlMnwGq\&q=85\&s=f1b0c9508f4224ec7235083e4dab27a3)

* **Category:** web search & research
* **Auth:** API\_KEY
* **Composio-managed OAuth available?** N/A
* **Tools:** 1
* **Triggers:** 0
* **Slug:** `METAPHOR`
* **Version:** 20261101\_00

## Tools

> [accordion] Get document contents by IDs
>
> **Slug:** `METAPHOR_GET_CONTENTS`
>
> Retrieve parsed text and metadata for multiple documents by Metaphor ID or URL, with optional character bounds for the returned text.
>
> #### Input Parameters
>
> **endChar** `integer`
>
> Character index to end returned text (exclusive). Must be >= 0.
>
> **contents** `array` *required*
>
> List of Metaphor IDs or URLs to fetch content for. Must contain between 1 and 1000 items.
>
> **startChar** `integer`
>
> Character index to start returned text (inclusive). Must be >= 0.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not
