Submit extraction
submit_extraction_from_llmSave the extraction you produced, one pass per call: the classes after the classes pass, then the objects after the objects pass and your single resolve_names call (see get_extraction_prompt).
`memory` is the graph's slug. `results` maps a pass `key` to that pass's JSON,
{"classes": {...}} or {"objects": {...}}. `source_doc` is a label for
provenance (give both submits the same one: they are one source), and
`source_title` the document's human name ("Share Purchase Agreement.pdf"). Keep each entry's `evidence`
({quote, page, section}, quote verbatim) as the prompt asks: it becomes the
fact's citation a reviewer sees. Rows are born unapproved. On most graphs
the everyday ones are approved as they are saved; what a person should
decide waits in the graph's Review: new schema (classes, properties,
relationship types), a value that disagrees with an approved or waiting
one, anything sensitive, and everything on a graph set to manual.
`approve=True` ONLY when the user explicitly asked for this document's facts
to be approved as loaded, including what would otherwise wait for a person
("load it as approved"). Never set it on your own judgement: the load is
then recorded under the user's name and this key, is listed in Review under
"Recently approved without a click", and can be taken back with one click.
It is refused (403) unless the user may approve in this graph — an owner,
or someone an owner allowed to approve; then load without it.
The response may carry `validation_errors` (rows the server could not
place — report them to the user instead of ignoring them) and
`near_duplicates` (new objects that look like an existing one — review
with the user and fold confirmed pairs with merge_objects).
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": {
"memory": "<memory>",
"results": "<results>"
},
"name": "submit_extraction_from_llm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| memory | Yes | ||
| approve | No | ||
| results | Yes | ||
| source_doc | No | ||
| source_title | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||