Home / Servers / ElevenLabs API / add_from_file
Add A Pronunciation Dictionary
An MCP tool from the ElevenLabs API server, hosted on mcp.hjlabs.in.
Add A Pronunciation Dictionary Creates a new pronunciation dictionary from a lexicon .PLS file [POST /v1/pronunciation-dictionaries/add-from-file]
Name on the gateway: elevenlabs_api__add_from_file · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
name required | string | The name of the pronunciation dictionary, used for identification only. |
file | string | A lexicon .pls file which we will use to initialize the project with. |
description | string | A description of the pronunciation dictionary, used for identification only. |
workspace_access | admin | editor | commenter | viewer | Should be one of 'admin', 'editor' or 'viewer'. If not provided, defaults to… |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "elevenlabs_api__add_from_file",
"arguments": {
"name": "…"
}
}Or connect the ElevenLabs API server directly, which lists 487 tools including this one:
claude mcp add --transport http hj-elevenlabs-api https://mcp.hjlabs.in/mcp/elevenlabs-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the add a pronunciation dictionary tool with name set to ….