Deliver the User's Answer
submit_answer 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. Brings back what the person said to a question the agent raised, and hands the work back with the same runId and lease, so it continues in the same attempt rather than starting a cold one. Marked as relayed, never as the person acting themselves — an answer carried by an agent and a click made by a human are different kinds of evidence, and the board keeps them apart. If the question was already answered in the Weft app, that answer is returned instead of an error: what matters is that the agent continues with the right one.
Weft 是為獨立創業者和小團隊打造的 AI 任務管理工具。
工具參考文件以英文維護:工具名稱、參數與範例在每種語言中都相同。
參數
| 名稱 | 型別 | 必填 | 說明 |
|---|---|---|---|
| questionId | uuid | 是 | The questionId returned by request_input |
| answer | string | 是 | What the user said, in their words (≤2000 chars) |
| value | string | 否 | The value of the option they picked, when they picked one |
回傳
ok, the answer that stands, and taskId/runId/leaseToken to carry on with. If the task is claimed by someone else now, a note saying so instead.
註記
- 冪等。用相同參數呼叫兩次,效果和呼叫一次一樣。
範例
使用者說的話:
"10% is fine."AI 在背後呼叫的東西:
{
"name": "submit_answer",
"arguments": {
"questionId": "…",
"answer": "10% is fine",
"value": "10"
}
}相關
- 全部 32 個 MCP 工具 — 目錄檢視。
- 梭子 — AI 客戶端如何使用這些工具。
- 用你自己的客戶端呼叫這個工具:參考設定指南,或直接打
https://letsweft.com/api/mcp。