# Tools

Connected Tools give your AI agents eyes and hands, enabling them to retrieve live information from the web, interact with real-world APIs, resolve geographic locations, and run calculations.

Without tools, large language models are limited to the static snapshot of their pre-training data. With tools enabled, agents can dynamically look up real-time facts, verify sources, inspect live URLs, and perform deterministic computation.

## Available Native Tools

AIsh.li includes a suite of native tools that can be enabled on any agent with a single click:

| Tool               | ID                | Description                                                         | Guide                            |
| :----------------- | :---------------- | :------------------------------------------------------------------ | :------------------------------- |
| **Google Search**  | `search-google`   | Real-time web search grounding with live source citations.          | [Google Search Guide](search.md) |
| **Web Fetch**      | `http`            | Scrape public web pages, read documentation, and inspect live APIs. | [Web Fetch Guide](fetch.md)      |
| **Google Maps**    | `geo-google-maps` | Geocode addresses, resolve GPS coordinates, and locate places.      | [Google Maps Guide](maps.md)     |
| **Code Execution** | `code-execution`  | Execute sandboxed Python code for exact mathematical calculations.  | [Code Execution Guide](code.md)  |

## How Tool Calling Works

When a user asks a question that requires external information or calculation:

```mermaid
sequenceDiagram
    autonumber
    actor User
    participant Model as AI Model
    participant Runtime as Tool Runtime
    participant Search as Google Search API

    User->>Model: "What was the score of yesterday's Champions League match?"
    Note over Model: Recognizes need for real-time live data
    Model->>Runtime: Tool Call: search-google(query="Champions League score yesterday")
    Runtime->>Search: Execute web query
    Search-->>Runtime: Structured search results & snippets
    Runtime-->>Model: Grounded tool response
    Model-->>User: Synthesized answer with citations
```

## Enabling Tools on an Agent

You can enable or disable tools for any agent in two ways:

1. **Visual Builder**:
   - Go to the [Agents](/agents) page and select an agent to edit (or [Create a New Agent](/agents/new)).
   - Scroll down to the **Tools** section.
   - Toggle the checkboxes for **HTTP/URL 🌐**, **Google Search 🔎**, **Google Maps 🗺️**, or **Code Execution 💻**.
   - Click **Save Agent**.

2. **Declarative YAML**:
   - Click the _Code_ tab on any agent page.
   - Add the desired tool identifiers to the `tools` array:

```yaml
id: my-account/research-assistant
instruction: You are a thorough researcher. Always verify facts using search.
model: gemini-3.8-flash
tools:
  - search-google
  - http
```

## Model Context Protocol (MCP)

In addition to our native built-in tools, AIsh.li is built with support for the open [Model Context Protocol (MCP)](https://modelcontextprotocol.io), allowing enterprise agents to connect to proprietary databases, internal APIs, and custom enterprise tools.

## Next Steps

Explore the detailed guides for each native tool:

- 🔎 **[Google Search Grounding](search.md)**: Real-time search and fact verification.
- 🌐 **[Web Fetch Tool](fetch.md)**: Retrieving and reading live URLs.
- 🗺️ **[Google Maps & Geolocation](maps.md)**: Geographic resolution and coordinates.
- 💻 **[Code Execution](code.md)**: Running sandboxed Python computation.
