save_triples
Saves extracted triples for one batch and marks its papers complete, including papers with no triples, then returns progress so extraction can continue.
Instructions
In-chat extraction, step 2: save the triples you extracted for one batch (each with paper_id, subject, subject_type, relation, object, object_type, evidence) and mark the batch's papers done, including papers with nothing to extract. Returns the progress message to show the user, e.g. "Saved 42 triples. 60 of 800 papers done (8%)".
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": {
"run_id": "<run_id>",
"paper_ids": "<paper_ids>",
"triples": "<triples>"
},
"name": "save_triples"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | ||
| triples | Yes | ||
| paper_ids | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |