BrowserGym icon indicating copy to clipboard operation
BrowserGym copied to clipboard

Tool Describe for AbstractActionSet

Open recursix opened this issue 6 months ago • 0 comments

to be compatible with the tool API and MCP, let's make sure the action_set also provide a tool_describe function that returns a json compatible with standard tool API.

class AbstractActionSet(ABC):

    @abstractmethod
    def tool_describe(self, with_long_description: bool = True, with_examples: bool = True) -> str:
        """
        Returns json describing the set of actions compatible with MCP.
        """
...

recursix avatar Apr 11 '25 18:04 recursix