Correct text source
source_text_reviseReplaces a text source's title and text at expected_content_version from source_read.
The correction is a new content version: a published source serves it without publication, and earlier test answers go out of date. Resubmitting the saved text changes nothing; a stale version fails and source_read shows the current 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": {
"agent_id": "<agent_id>",
"source_id": "<source_id>",
"data": "<data>"
},
"name": "source_text_revise"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Replacement text-source name and content with expected_content_version from source_read. | |
| agent_id | Yes | Agent ID from agents_list or agent_create. | |
| source_id | Yes | Knowledge source ID from sources_list. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| effect | Yes | ||
| agent_id | Yes | ||
| published | Yes | ||
| source_id | Yes | ||
| content_version | Yes |