x402-truncate-words
Truncate Words: Keep the first max words of text, 20 by default, and append three dots when anything was cut. 🆓 5 free trial calls per signed wallet
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "x402-truncate-words"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | No | ||
| text | No | ||
| input | No | ||
| words | No |