How do agent handle pre-filled or user-modified form values?
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- html
- Ambito
- api
Direzione di ricerca
Start by reading the WebMCP specification sections that define form tools and their input schemas; this issue does not name specific files or tests. Compare the two proposed approaches for exposing current form values and determine whether the specification should define a mechanism. Done means the specification question has a resolved direction and the corresponding behavior is clearly specified.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Agents currently lack a reliable mechanism to invoke a tool based on a WebMCP form that contains values either manually filled by the user or pre-populated by the website. The agent is unaware of the form's current state, meaning it cannot confidently fulfill a user instruction like, "Submit this form. Trust me, I've already filled those fields". The agent is forced to rely solely on the schema defined by the form tool itself.
If an input field is marked as required, the agent cannot submit the form because it does not know the current value, effectively blocking the submission even if the form is valid in the browser.
<form toolname="submit_form" tooldescription="Submit form">
<input type="text" name="name" value="John Doe" required>
<button>Submit</button>
</form>
- User: Submit this form
- Agent: I can do that. What is the name of the form you would like to submit?
If the required attribute is omitted (or not by the way), the agent may "hallucinate" and generate a random value for the field rather than using the pre-filled value, potentially leading to the submission of incorrect data.
- User: Submit this form
- Agent: Call "submit_form" with {"name":"default_form"}
Ideally, the agent should have a method to submit the form using its current, visible values, despite some fields being required. We should clarify if the WebMCP specification should have a mechanism for this. We could either:
- Allow the agent to "read" the form values directly from the DOM.
- Mandate that the WebMCP specification requires exposing additional tools for each declared form tool, where these additional tools return the current form field values.
- Lingua principale
- Bikeshed
- Stelle
- 4.7k
- Fork
- 328
- Merge medio
- 2g 15h
- PR unite (30g)
- 16
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di webmachinelearning/webmcp
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 72/100
webmachinelearning/webmcp#360 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Say how an agent should weigh annotations that the page wrote about itselfForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
webmachinelearning/webmcp#353 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
webmachinelearning/webmcp#343 · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
Agenda+ i18n-tracker
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
webmachinelearning/webmcp#273 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
a11y-tracker Agenda+
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
webmachinelearning/webmcp#272 · 4 commenti · 2 reazioni ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di webmachinelearning/webmcp
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 84/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
Azure-Samples/azure-search-openai-demo#3249 ·
I maintainer di solito rispondono entro 1 giorno
-
bug report
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 3 giorni
-
Password change returns 500 because `username` is used before it is setForse già presa @10done l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
alphaonelabs/learn#138 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno