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

# Update tool

> Updates a tool. Admin only. Platform tools are immutable (403).



## OpenAPI

````yaml /openapi.yaml put /tools/{id}
openapi: 3.0.3
info:
  title: Hill90 API
  description: Hill90 platform API — agent management and lifecycle operations.
  version: 0.1.0
servers:
  - url: /
    description: Relative (behind Traefik reverse proxy)
security: []
paths:
  /tools/{id}:
    parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
    put:
      summary: Update tool
      description: Updates a tool. Admin only. Platform tools are immutable (403).
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ToolCreate'
      responses:
        '200':
          description: Tool updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tool'
        '401':
          description: Not authenticated
        '403':
          description: Requires admin role or platform tool is immutable
        '404':
          description: Tool not found
      security:
        - bearerAuth: []
components:
  schemas:
    ToolCreate:
      type: object
      required:
        - name
      properties:
        name:
          type: string
        description:
          type: string
        install_method:
          type: string
          enum:
            - builtin
            - apt
            - binary
        install_ref:
          type: string
    Tool:
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
        description:
          type: string
        install_method:
          type: string
          enum:
            - builtin
            - apt
            - binary
        install_ref:
          type: string
        is_platform:
          type: boolean
        created_at:
          type: string
          format: date-time
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````