batch_action
Apply a single follow, like, or repost action to up to 25 targets in one API call, performing real writes to the network.
Instructions
Batch the same action across up to 25 targets in one call. Supported actions: follow (handles/DIDs), like (AT-URIs), repost (AT-URIs). Requires authentication (app password). Performs real writes (follows/likes/reposts) to the network on the caller's behalf. Subject to per-tool rate limiting.
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": {
"action": "<action>",
"targets": "<targets>"
},
"name": "batch_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | The action to apply to every target. | |
| targets | Yes | For action=follow: handles or DIDs. For action=like/repost: post AT-URIs. 1–25 items. | |
| continueOnError | No | Whether to keep processing remaining targets after an individual target fails. Defaults to true; set to false to stop at the first failure (unprocessed targets are reported as skipped in the summary). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | Yes | ||
| action | Yes | ||
| results | Yes | Per-target outcome {target/uri, success, error?}. | |
| summary | Yes | Counts: total, succeeded, failed, skipped. |