query_triples
Retrieve triples from the knowledge graph by filtering on subject, predicate, or object. Returns matching triples as JSON.
Instructions
Query knowledge graph triples with optional filters.
At least one filter should be provided. Returns all matching triples.
Args:
subject: Filter by subject entity name.
predicate: Filter by relationship predicate.
object_name: Filter by object entity name.
Returns:
JSON string with matching triples.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "query_triples"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subject | No | ||
| predicate | No | ||
| object_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |