diana_community_contribute
Uploads a reviewed redaction batch to a public contribution branch after exact UPLOAD <batch_id> confirmation, enabling repository validation and a compare URL for opening a pull request.
Instructions
Upload a reviewed redaction batch to a public contribution branch.
This is a public external write. It runs only when confirmation is exactly UPLOAD <batch_id> from the user
after reviewing diana_community_preview. Uploaded entries remain low-trust candidates; repository automation
validates them and the returned compare URL is used to open a pull request.
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": {
"batch_id": "<batch_id>",
"confirmation": "<confirmation>"
},
"name": "diana_community_contribute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| batch_id | Yes | ||
| confirmation | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||