Metaphor
Overview
SLUG: METAPHOR
Description
Metaphor is a neural search engine that enables developers to perform contextually relevant searches by understanding how people describe and share content online.
Authentication Details
API Key
Connecting to Metaphor
Create an auth config
Use the dashboard to create an auth config for the Metaphor toolkit. This allows you to connect multiple Metaphor accounts to Composio for agents to use.
Create and Get auth config ID
Click “Create Metaphor Auth Config”. After creation, copy the displayed ID starting with ac_
. This is your auth config ID. This is not a sensitive ID — you can save it in environment variables or a database.
This ID will be used to create connections to the toolkit for a given user.
Connect Your Account
Using API Key
Tools
Executing tools
To prototype you can execute some tools to see the responses and working on the Metaphor toolkit’s playground
OpenAI (Python)
Anthropic (TypeScript)
Google (Python)
Vercel (TypeScript)
Tool List
METAPHOR_GET_CONTENTS
Tool Name: Get document contents by IDs
Description
Action Parameters
Action Response