extract_relations
Extract (subject, predicate, object) triplets from text to identify relationships and build structured knowledge graphs. Turns unstructured text into actionable relational data.
Instructions
Extract relations and (subject, predicate, object) triplets from text.
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": "extract_relations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Input text to extract relations from |