Documentation Index
Fetch the complete documentation index at: https://docs.constants.io/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Every tool you create is automatically available through multiple interfaces — all with the same security, credential handling, and audit trail.| Interface | How It Works |
|---|---|
| Web UI | Generated form with file upload, streaming logs, and artifact download |
| Slack Bot | Mention the bot in Slack to run tools conversationally |
| Agent Chat | Built-in AI assistant that discovers and runs your tools |
| MCP | Model Context Protocol endpoint for any MCP-compatible AI agent |
| REST API | Programmatic POST /v1/run/[toolName] for automation |
Slack Bot
Installation
- Go to your workspace settings in Constants
- Click Connect Slack
- Authorize the Constants bot for your Slack workspace
Usage
Mention the bot in any channel or thread:How It Works
Context Gathered
If the mention is in a thread, the bot reads recent messages for context, enabling multi-turn interactions.
Tool Executed
The AI determines which tool to use, runs it in a secure sandbox, and collects results.
Thread Conversations
The Slack bot supports multi-turn interactions within threads:Agent Chat
What Is It?
Constants includes a built-in AI assistant that can discover your tools, understand what they do, and run them in multi-step workflows.How to Use
- Open the Agent tab from the sidebar
- Start a new conversation or continue an existing one
- Ask the agent to find and run tools, analyze results, or chain multiple tools together
Capabilities
Tool Discovery
Tool Discovery
The agent sees all tools you own and tools shared with you. Ask “what tools do I have?” or describe what you need — it finds the right one.
Tool Execution
Tool Execution
The agent runs tools in the same secure sandboxes as the UI. Results include full output, artifacts, and run logging.
File Attachments
File Attachments
Attach files to chat messages. The agent auto-maps them to tool input fields by file type. If required files are missing, it asks for them.
Multi-Turn Workflows
Multi-Turn Workflows
The agent maintains conversation context across turns. Chain tool executions, ask follow-up questions, or refine parameters based on output.
MCP (Model Context Protocol)
What Is It?
MCP is an open protocol for AI agents to discover and execute tools. Every Constants tool is automatically exposed as an MCP tool — no extra configuration needed.Setup
Add the Constants MCP server to your agent or IDE configuration:How It Works
- Discovery — Agent calls
tools/listto see all available tools (owned + shared) - Execution — Agent calls
tools/callwith tool name and arguments - Results — Output returned with the same structure as UI execution
REST API (V1)
Overview
For programmatic access and automation:Key Endpoints
| Method | Endpoint | Description |
|---|---|---|
GET | /v1/tools | List tools with schemas |
POST | /v1/run/:toolName | Execute a tool (waits up to 50s) |
GET | /v1/skill/:toolName | Get tool documentation as markdown |
GET | /v1/skills/search | Search available tools |
API Keys
All programmatic interfaces (REST API, MCP, Slack bot) use API keys for authentication.Creating Keys
- Click your profile icon → API Keys
- Click Create New Key
- Choose scopes:
mcp:read— List tools and view schemasmcp:execute— Execute tools
Key Security
- Keys are hashed before storage — Constants never stores the plain key
- Each key has configurable scopes for least-privilege access
- Keys can be revoked individually at any time
- Usage is tracked per-key for auditing
Access & Governance
Tool Visibility
| Access Level | Who Can See/Run |
|---|---|
| Owner | The user who created the tool |
| Shared | Specific users added via email |
| Workspace | All members of the tool’s workspace |
| Featured | Public discovery (admin-curated) |
Consistent Across Interfaces
Regardless of how a tool is triggered:- Same credential resolution and injection
- Same secure sandbox with the same resource limits
- Same run logging with full context
- Same quota accounting against the workspace
What’s Next?
API Reference
Full API documentation with examples
Features Overview
See everything Constants can do
