---
title: "Replace an assistant revision's tool-input defaults"
method: PUT
path: "/v1/assistants/revisions/{revision_id}/tool-input-defaults"
tags: ["assistants"]
---

# Replace an assistant revision's tool-input defaults

`PUT /v1/assistants/revisions/{revision_id}/tool-input-defaults`

## Request

- The document declares no server URL.
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/oneloop-hq/apis/feather-api/docs/v1/assistants/revisions/:revision_id/tool-input-defaults/put.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `revision_id` string, uuid, required

## Request body

- ToolInputDefaultsPutRequest: Full-replace write body for a revision's keyed tool-input defaults. ``tools`` is the whole keyed map ``{tool_key: {field: {value, type}}}``; ``null`` or ``{}`` clears all configured defaults for the revision (the setter writes SQL NULL). ``extra="forbid"`` rejects stray top-level keys; the inner ``InputArgConfig`` tolerates the legacy flat ``{field: value}`` shape.
  - `tools` object, nullable

## Response `200`

Successful Response

- ToolInputDefaultsViewResponse: GET response for an agent/workflow revision's keyed tool-input defaults.
  - `tools` object, required

## Other responses

- `400`: Bad request
- `401`: Authentication required
- `404`: Resource not found
- `422`: Validation Error

## Changes

- **2026-08-12** `5a5597ebb2d6`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/oneloop-hq/apis/feather-api/changes/v1/assistants/revisions/:revision_id/tool-input-defaults/put.md)

---

[API](https://skmtc.dev/oneloop-hq/apis/feather-api.md) - [All operations](https://skmtc.dev/oneloop-hq/apis/feather-api/llms.txt) - [OpenAPI document](https://skmtc.dev/oneloop-hq/apis/feather-api/revisions/9cd7291d4228?raw)
