detect_text_genre
Identify text genres like historical_narrative or prophetic to apply accurate extraction rules, using structural patterns or domain-specific vocabulary for enhanced detection.
Instructions
Detect text genre to apply correct extraction rules.
Genres: historical_narrative, narrative_poetry, prayer_praise, recapitulation, prophetic.
DOMAIN-AGNOSTIC: Uses structural patterns by default. Provide domainVocabulary for domain-specific enhanced detection.
Args: segment_id: ID of the segment to analyze. domain_vocabulary: Optional DomainVocabulary for enhanced detection.
Returns: Text genre detection result.
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": {
"segment_id": "<segment_id>"
},
"name": "detect_text_genre"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| segment_id | Yes | ||
| domain_vocabulary | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||