optimize_prompt_tokens
ActiveTool of IA-QA — 130+ QA & Dev Tools for AI Agents
Compress an LLM prompt by removing filler words, verbose phrases, duplicate sentences, and unnecessary whitespace. Returns optimized text with token savings breakdown. 100% deterministic, no API key needed.
Parameters schema
{
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"description": "The prompt text to optimize"
},
"options": {
"type": "object",
"properties": {
"fillers": {
"type": "boolean",
"default": true
},
"duplicates": {
"type": "boolean",
"default": true
},
"whitespace": {
"type": "boolean",
"default": true
},
"instructions": {
"type": "boolean",
"default": true
}
},
"description": "Toggle optimization steps (all true by default)"
}
}
}No endpoints wrapped at confidence ≥ 0.70.
Parent server
IA-QA — 130+ QA & Dev Tools for AI Agents
https://github.com/jcjamet/ia-qa
1/7 registries