Documentation Index
Fetch the complete documentation index at: https://docs.logic.inc/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Logic provides built-in HTTP tools that allow your agents to make external HTTP requests during execution. Your agents can fetch data from APIs, post to webhooks, and interact with any external service — all described in plain text within your agent. HTTP tools support all standard HTTP methods: GET, POST, PUT, PATCH, DELETE, and OPTIONS.How It Works
HTTP tools are designed to be used naturally within your agent’s instructions. You don’t need to write code or specify technical tool names — just describe the HTTP request you want to make in plain language, and Logic’s agent will detect the appropriate method and construct the request. For example, you might write in your agent:Describing Requests in Your Agent
When writing HTTP instructions in your agent, you can specify:- The URL — the endpoint to call (required)
- The HTTP method — GET, POST, PUT, PATCH, DELETE, or OPTIONS. The agent can often infer the method from context (e.g., “fetch” implies GET, “send data to” implies POST)
- Headers — any custom headers like content type or authentication
- A request body — for POST, PUT, and PATCH requests, describe the payload structure or provide exact values
The agent can also infer POST from natural phrasing like “send results to,”
“submit data to,” “notify the endpoint,” or “push metrics to” — you don’t
always need to specify the HTTP method explicitly.
Using Responses
The response of an HTTP request is available to the agent for use throughout the rest of the execution. You can provide instructions on how to use the results in plain text, just like any other part of your agent. For example:Examples
Fetching Data from an API
An agent that retrieves weather information might include instructions like:Posting to a Webhook
An agent that sends notifications after processing:Calling an Authenticated API
An agent that reads from a protected endpoint using a bearer token:Submitting Form Data
An agent that submits structured data based on user input:HTTP tools are not currently available under HIPAA-compliant configurations.
Related Resources
- Using the API — learn about the auto-generated API for your agents
- Integrating Your Agent — get started with agent integration
- Executing an Agent — API reference for executing agents

