format_format_plural
Pluralize a word based on a count. Provide count and singular noun; optionally specify a custom plural form or choose to include the count in the output.
Instructions
[format] Pluralize: format_plural(3, 'item') → '3 items'. Optional custom plural form.
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": {
"count": "<count>",
"singular": "<singular>"
},
"name": "format_format_plural"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| singular | Yes | ||
| plural | No | ||
| include_count | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |