slack
Slack task tools
Use the slack_* tools provided with this task. The server binds them to the
assigned bot, workspace, task and currently accepted linked requester. Slack-origin
work uses its originating bot. Paperclip tasks and routines can use the bot assigned
to this agent, with the responsible user's linked Slack identity and current access.
Do not request or pass Slack tokens, workspace IDs or other users' identities.
Use only the supplied connection IDs; they do not grant access to other bots.
If several are available, pass the chosen resource ID as endpointId.
For CLI/sandbox runtimes, POST the same strict arguments to
$PAPERCLIP_API_URL/api/companies/$PAPERCLIP_COMPANY_ID/slack/tasks/$PAPERCLIP_TASK_ID/tools
with Authorization: Bearer $PAPERCLIP_API_KEY, X-Paperclip-Run-Id: $PAPERCLIP_RUN_ID
and JSON { "endpointId": "<assigned resource id>", "tool": "slack_history", "arguments": { "channel": "C..." } }.
Read the adjacent TOOLS.json file for every operation’s exact argument schema.
Never print credentials. Native and HTTP calls share validation and authorization.