Use an imported document
apply_importuse=keep: the document becomes the imported text (own text, as a new draft version) so you can improve it while keeping its wording. use=answers: creates or updates the generated document using answers found in the import; significant ones are returned for the user to confirm instead of being applied.
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": {
"type": "<type>",
"import_id": "<import_id>",
"use": "<use>"
},
"name": "apply_import"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| use | Yes | ||
| type | Yes | ||
| template | No | ||
| import_id | Yes |