get_public_llm_expected_cost_calculation
Calculate expected LLM usage costs from prompt length, knowledge base pages, and RAG status to estimate credit spend before running ElevenLabs calls.
Instructions
Calculate Expected Llm Usage
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"prompt_length": "<prompt_length>",
"number_of_pages": "<number_of_pages>",
"rag_enabled": "<rag_enabled>"
},
"name": "get_public_llm_expected_cost_calculation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rag_enabled | Yes | Whether RAG is enabled. | |
| prompt_length | Yes | Length of the prompt in characters. | |
| number_of_pages | Yes | Pages of content in PDF documents or URLs in the agent's knowledge base. |