Ask the User a Question
request_input is one of the 32 MCP tools in Weft, the AI task manager you run by talking to Claude, Cursor, Codex or ChatGPT through one MCP endpoint. Ask the person something only they can decide, and wait without losing the claim on the task. If they are at their client, a form appears there and the answer comes back inside the same call — the agent carries on in the same context, with the same claim. If they are away, the call returns parked and the question waits in their queue; the answer reaches the agent at its next start_task or get_my_work. For the irreversible and the genuinely ambiguous, not for "may I continue?" — every question spends the same attention budget that limits new work.
Weft là trình quản lý công việc bằng AI cho nhà sáng lập độc lập và nhóm nhỏ.
Tài liệu tham khảo công cụ được duy trì bằng tiếng Anh: tên công cụ, tham số và ví dụ là như nhau trong mọi ngôn ngữ.
Tham số
| Tên | Kiểu | Bắt buộc | Mô tả |
|---|---|---|---|
| id | string | có | Task ID |
| runId | string | có | The runId returned by start_task |
| leaseToken | string | có | The leaseToken returned by start_task |
| question | string | có | One sentence a person can answer (≤500 chars) |
| options | { value, label }[] | không | The alternatives, when there are any. A question with options gets read; a yes/no gets rubber-stamped. |
| urgency | 'blocking' | 'soon' | không | Default 'blocking' |
| holdSeconds | number | không | How long to wait inside the call before parking (default 120, max 240) |
Trả về
Either answered:true with the answer and the same runId/leaseToken to continue with, or parked:true with a questionId — the claim is kept either way, and a parked question is delivered back through start_task and get_my_work.
Chú thích
- idempotent. Gọi công cụ hai lần với cùng tham số cho kết quả giống như gọi một lần.
Ví dụ
Người dùng nói:
"Ask me before you send anything to a customer."AI gọi gì bên dưới:
{
"name": "request_input",
"arguments": {
"id": "…",
"runId": "…",
"leaseToken": "…",
"question": "Which discount should the email offer?",
"options": [
{
"value": "10",
"label": "10%"
},
{
"value": "15",
"label": "15%"
}
]
}
}Liên quan
- Tất cả 32 công cụ MCP — xem dạng danh mục.
- Con thoi — cách client AI dùng những công cụ này.
- Gọi công cụ này qua client của riêng bạn: xem hướng dẫn thiết lập, hoặc gọi thẳng
https://letsweft.com/api/mcp.