Skip to main content
Complete the agent setup first: create the single-field template, download lithoblocks_client.py, configure an approved channel and operation ID, and store your key outside the model.

Register the tool

Pass tools to your configured agent workflow. Current agent workflows use the llama_index.core.agent.workflow APIs; follow the framework’s async execution pattern rather than an older synchronous .chat() example. See the official LlamaIndex 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 with ok 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