DocsWebMCPbrowser_webmcp_refresh_tools

browser_webmcp_refresh_tools

Browser Webmcp Refresh Tools

Trigger a re-scan of the page for declarative <form toolname> elements and return the updated tool list. Useful after SPA navigation or dynamic content changes that may have added new form-based tools.

Usage Example

1234567891011
import asyncio
from owl_browser import OwlBrowser, RemoteConfig
# Async usage
async with OwlBrowser(config) as browser:
context = await browser.create_context()
context_id = context["context_id"]
await browser.webmcp_refresh_tools(
context_id=context_id
)

Parameters

Required

context_idstringrequired

The unique identifier of the browser context (e.g., 'ctx_000001')

Response

Returns a JSON object with the operation result.

{
  "success": true,
  "result": <value>
}