---
title: "Replace a workflow revision's tool-input defaults (draft-only)"
method: PUT
path: "/v1/workflows/revisions/{revision_id}/tool-input-defaults"
tags: ["workflows"]
---

# Replace a workflow revision's tool-input defaults (draft-only)

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

## 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

---

[API](https://skmtc.net/oneloop-hq/apis/feather-api.md) · [All operations](https://skmtc.net/oneloop-hq/apis/feather-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/oneloop-hq/feather-api/versions/888bdd5c076e/schema)
