MCPcopy Create free account
hub / github.com/microsoft/Webwright / _response_schema

Method _response_schema

src/webwright/models/base.py:307–319  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

305 return vars
306
307 def _response_schema(self) -> dict[str, Any]:
308 action_field = self.config.action_field
309 return {
310 "type": "object",
311 "additionalProperties": False,
312 "properties": {
313 "thought": {"type": "string"},
314 action_field: {"type": "string"},
315 "done": {"type": "boolean"},
316 "final_response": {"type": "string"},
317 },
318 "required": ["thought", action_field, "done", "final_response"],
319 }
320
321 def _usage_snapshot(self) -> dict[str, dict[str, int]]:
322 return {

Callers 2

_build_payloadMethod · 0.80
_build_payloadMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected