detect_ai_text
Score academic text paragraph by paragraph to detect AI-like writing style and surface ranked rewrite targets. Returns an overall AI percentage, a verdict, and per-paragraph style flags.
Instructions
Score a string of academic text for AI-like style, paragraph by paragraph.
Args: text: The text to analyse. detail: 'paragraph' (default, reliable) or 'windows' (adds weak 3-sentence candidate spans inside flagged paragraphs; doubles cost). include_text: Include each paragraph's full text in the response. Off by default to keep context small. exclude_references: Drop everything after a References/Bibliography heading (default true; reference lists skew the average).
Returns overall ai_pct (0-100, higher = more AI-like), verdict, paragraph bands, per-paragraph scores with stable indices, and deterministic style flags.
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": {
"text": "<text>"
},
"name": "detect_ai_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| detail | No | paragraph | |
| include_text | No | ||
| exclude_references | No |