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 は、ひとり創業者と小さなチームのための AI タスク管理です。
ツールリファレンスは英語で管理しています。ツール名、引数、例はどの言語でも同一です。
引数
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| id | string | はい | Task ID |
| runId | string | はい | The runId returned by start_task |
| leaseToken | string | はい | The leaseToken returned by start_task |
| question | string | はい | One sentence a person can answer (≤500 chars) |
| options | { value, label }[] | いいえ | The alternatives, when there are any. A question with options gets read; a yes/no gets rubber-stamped. |
| urgency | 'blocking' | 'soon' | いいえ | Default 'blocking' |
| holdSeconds | number | いいえ | How long to wait inside the call before parking (default 120, max 240) |
戻り値
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.
注釈
- 冪等。 同じ引数で二度呼び出しても、一度呼び出したときと結果は同じです。
例
ユーザーの発言:
"Ask me before you send anything to a customer."AI が裏側で呼び出すもの:
{
"name": "request_input",
"arguments": {
"id": "…",
"runId": "…",
"leaseToken": "…",
"question": "Which discount should the email offer?",
"options": [
{
"value": "10",
"label": "10%"
},
{
"value": "15",
"label": "15%"
}
]
}
}関連
- 32個の MCP ツール一覧 — カタログ表示。
- Shuttle — AI クライアントがこれらのツールをどう使うか。
- 自分のクライアントからこのツールを呼び出す: セットアップガイドを見る、または
https://letsweft.com/api/mcpに直接アクセスしてください。