Classify Text
lyzr_classifyClassify text against custom rules to return the matching label(s). Define rules with natural-language descriptions; get the label when a rule matches.
Instructions
Classify text against a set of rules; returns the matching label(s).
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>",
"rules": "<rules>"
},
"name": "lyzr_classify"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to classify | |
| rules | Yes | Classification rules to evaluate the text against | |
| extra_fields | No | Additional body fields merged into the request |