lithoblocks_client.py, configure an approved channel and operation ID, and store your key outside the model.
Register the tool
tools to the agent responsible for notifications. A CrewAI Task also needs an explicit expected_output; describe the delivery result and request ID, not merely the desired message content. See the official CrewAI tool documentation for installation and provider setup. Pin the framework version in your application’s lockfile.
Verify without an autonomous run
Call the shared client directly with a short test message after approving a test send. Confirm Slack and the returned request ID before attaching it to an agent. Test missing configuration, an invalid key, a missing scope, and a timeout using your application’s test transport. The client returns sanitized JSON withok and either message coordinates or an error code. A transport failure is uncertain; it is not permission to choose another operation ID and resend.
Keep destination and template selection outside the model, and implement approval in your application. A tool description alone does not enforce authorization.
API send behavior · Agent workflow
