ner
Extract people, locations, and organizations from text with exact character spans using language-specific engines for Chinese, English, and other languages.
Instructions
Named entity recognition with exact spans.
Chinese: stanza statistical NER when installed (recommended), otherwise
the jieba POS-tag heuristic (nr/ns/nt -> PER/LOC/ORG). English: spaCy,
then stanza. Other languages: stanza. engine may force one:
"jieba" | "spacy" | "stanza" - an unavailable forced engine raises an
actionable install hint instead of being silently ignored.
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": "ner"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | auto | |
| text | Yes | ||
| engine | No | auto |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||