Tool Definition
All tools in Subconscious follow a consistent structure defined by these types:Tool Properties
- type: Either
'function'
for custom tools or'mcp'
for Model Context Protocol tools - name: Unique identifier for the tool
- description: Human-readable description of what the tool does
- url: Endpoint URL where the tool is hosted
- method: HTTP method used to call the tool (
'POST'
or'GET'
) - timeout: Maximum time in milliseconds to wait for tool execution
- parameters: JSON Schema definition of the tool’s input parameters
Three Ways to Use Tools with Subconscious
Subconscious provides three flexible approaches to integrate tools with your AI agents.- Schema Defined Tools: Sent complete tool schema during an API request
- Saved Tools: Save tool schemas in the platform tools dashboard for simpler API calls
- Hosted Tools: Two tools from Subconscious to get you started
1. Schema Defined Tools
Pass tool schemas directly to the API for every interaction. This approach gives you complete control but requires you to self-host these tools. Best for: Custom tools, one-off integrations, or when you need full control over tool implementation.2. Saved Tools
Save your tool specifications to simplify API calls. Once saved, you can reference tools by name in your requests. Best for: Frequently used tools, team collaboration, or when you want to reduce API payload size.3. Subconscious Hosted Tools
We host these tools for you and they’re available to use freely with your models.Tool Name | API Name | Description |
---|---|---|
Web Search | web_search | Search the web for information. |
Webpage Understanding | webpage_understanding | Summarizes key information on web pages and suggests how to use in further searches (use with Web Search). |
Getting Started
Choose the approach that best fits your needs:- Schema Defined Tools: For complete customization and control
- Saved Tools: For simplified, reusable tool management
- Subconscious Hosted Tools: For quick setup with common functionality