> ## Documentation Index
> Fetch the complete documentation index at: https://docs.withsol.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Execute a tool

> Executes the selected tool with the provided parameters in Sol.



## OpenAPI

````yaml sol-open-api-spec.yaml post /tools/{toolId}/execute
openapi: 3.0.0
info:
  title: Sol API
  description: >-
    API for managing AI-powered tool integrations in third-party applications,
    enabling seamless automation and execution of tasks.
  version: 1.0.0
servers:
  - url: https://api.sol.com/v1
    description: Main (production) server
security: []
paths:
  /tools/{toolId}/execute:
    post:
      summary: Execute a tool
      description: Executes the selected tool with the provided parameters in Sol.
      parameters:
        - in: path
          name: toolId
          schema:
            type: string
          required: true
          description: The ID of the tool to execute
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                params:
                  type: object
                  description: Parameters for tool execution
                  example:
                    from_email: noreply@sol.com
                    to_email: tara@sol.com
                values:
                  type: object
                  description: Static values to override parameters
                  example:
                    subject: Welcome to our service!
      responses:
        '200':
          description: Successful tool execution
          content:
            application/json:
              schema:
                type: object
                properties:
                  executionId:
                    type: string
                    description: Unique ID of the execution
                    example: exec-98765
                  status:
                    type: string
                    description: Status of the execution
                    example: completed

````