Skip to content

measure_text_length

Measure the length of a text string. Returns character count, word count, and line count. Useful when the user asks about text size or length.

User guide / All capabilities

Effect: read. Evidence role: discovery_only.

Measure the length of a text string in characters, words, and lines.

This is the current provider-facing JSON Schema, generated from the runtime definition.

{
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "The text to measure."
}
},
"required": [
"text"
]
}

The ordinary admission and tool execution checks apply.

  • returns text length metrics