constituency_parse
Produces phrase-structure parse trees for input text and returns bracketed trees plus per-sentence node labels using Stanza's constituency processor.
Instructions
Phrase-structure (constituency) parses via stanza - exclusive to the Stanford stack among the wrapped engines. Returns bracketed trees plus the set of node labels per sentence. Requires the language's stanza models with the 'constituency' processor.
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": "constituency_parse"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | auto | |
| text | Yes | ||
| max_trees | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||