Weft
EL
Εργασίες · MCP

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 για solo founders και μικρές ομάδες.

Η αναφορά εργαλείων συντηρείται στα αγγλικά: τα ονόματα των εργαλείων, τα ορίσματα και τα παραδείγματα είναι ίδια σε κάθε γλώσσα.

Ορίσματα

ΌνομαΤύποςΑπαιτείταιΠεριγραφή
questionIduuidναιThe questionId returned by request_input
answerstringναιWhat the user said, in their words (≤2000 chars)
valuestringόχι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 στο παρασκήνιο:

json
{
  "name": "submit_answer",
  "arguments": {
    "questionId": "…",
    "answer": "10% is fine",
    "value": "10"
  }
}

Σχετικά