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

# Change a Customer Agent task's tools

> Replaces the read tools picked for one task, as an admin's save on Settings > Customer Agent does; the other task keeps its picks. Only read tools can be picked: a tool that is not a read for this workspace is a 422 naming it, an unknown task a 404. The next account review uses them. Needs a plan that has the Customer Agent.



## OpenAPI

````yaml /api/statisfy-api.openapi.json put /v1/settings/customer-agent/tools/{task}
openapi: 3.1.0
info:
  description: >-
    The agent-first Statisfy API. Authenticate with an API key (`Authorization:
    Bearer stfy_live_…`), then call `GET /v1/meta/capabilities` to discover
    every operation and its schemas.
  title: Statisfy API
  version: 1.0.0
servers:
  - url: https://api.statisfy.com
    description: Production
security: []
paths:
  /v1/settings/customer-agent/tools/{task}:
    put:
      tags:
        - settings
      summary: Change a Customer Agent task's tools
      description: >-
        Replaces the read tools picked for one task, as an admin's save on
        Settings > Customer Agent does; the other task keeps its picks. Only
        read tools can be picked: a tool that is not a read for this workspace
        is a 422 naming it, an unknown task a 404. The next account review uses
        them. Needs a plan that has the Customer Agent.
      operationId: settings_customer_agent_tools_update
      parameters:
        - description: >-
            The task: health or renewal_forecast (GET
            /v1/settings/customer-agent/tools lists them)
          in: path
          name: task
          required: true
          schema:
            maxLength: 255
            minLength: 1
            type: string
      requestBody:
        content:
          application/json:
            schema:
              additionalProperties: false
              properties:
                toolkits:
                  description: >-
                    The picks, replacing the task's saved ones; [] removes them
                    all
                  items:
                    $ref: '#/components/schemas/ToolPickIn'
                  maxItems: 50
                  title: Toolkits
                  type: array
              required:
                - toolkits
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TaskTools'
          description: Successful Response
      security:
        - HTTPBearer: []
components:
  schemas:
    ToolPickIn:
      additionalProperties: false
      properties:
        toolkit:
          description: A toolkit's key, from `available`
          maxLength: 255
          minLength: 1
          title: Toolkit
          type: string
        tools:
          description: Its read tools the task may use, by `name` from `available`
          items:
            maxLength: 255
            minLength: 1
            type: string
          maxItems: 200
          minItems: 1
          title: Tools
          type: array
      required:
        - toolkit
        - tools
      title: ToolPickIn
      type: object
    TaskTools:
      properties:
        picked:
          description: >-
            The tools the admin picked; the task's own built-in tools are not
            listed
          items:
            $ref: '#/components/schemas/ToolPick'
          title: Picked
          type: array
        task:
          description: health or renewal_forecast
          title: Task
          type: string
      required:
        - task
        - picked
      title: TaskTools
      type: object
    ToolPick:
      properties:
        toolkit:
          description: The toolkit's key, from `available`
          title: Toolkit
          type: string
        tools:
          description: Its read tools the task may use, by `name` from `available`
          items:
            type: string
          title: Tools
          type: array
      required:
        - toolkit
        - tools
      title: ToolPick
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http
      description: >-
        An API key, sent as `Authorization: Bearer stfy_live_…`. See
        [Authentication](/rest-api/authentication) for how to get one and which
        scopes it needs.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.