---
title: "Fill text into element"
method: POST
path: "/api/v1/ui/actions/fill"
tags: ["ui-actions"]
---

# Fill text into element

`POST /api/v1/ui/actions/fill`

Clears any existing text and fills the element with the given text.

## Request body

- FillRequest — unresolved $ref

## Response `200`

Action completed.

- ActionResponse — unresolved $ref

## Other responses

- `400` — Element is not interactable.
- `404` — Element not found.
- `408` — Operation timed out.
- `409` — Capture is stale or a UI/native mutation or probe is temporarily busy. Retry after obtaining a fresh capture.
- `500` — Internal server error.
- `501` — Capability not implemented by the connected backend.

---

[API](https://skmtc.dev/dotnet/apis/devflow-agent-protocol.md) · [All operations](https://skmtc.dev/dotnet/apis/devflow-agent-protocol/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/dotnet/devflow-agent-protocol/revisions/31dec8eed3de/schema)
