Skip to content

revyl_assert

Assert a visual condition on the device screen. Describe what should be true. Examples: ‘the cart total shows $42.99’, ‘a success message is visible’, ‘the Sign In button is disabled’, ‘there are at least 3 search results’, ‘the settings screen is open’, ‘the order confirmation page is shown’.

Source

  • Kind: class-backed
  • Class: xyz.block.trailblaze.revyl.tools.RevylNativeAssertTool

Contract

  • Visible to LLM: yes (surface_to_llm: true)
  • Recordable: yes (is_recordable: true)
  • Host-only: no (requires_host: false)

Input schema

Required parameters

  • assertionString The condition to verify, described in natural language. Examples: ‘the cart badge shows 2 items’, ‘the profile tab is selected’.

Optional parameters

  • reasoningString

Output

Returns: string (opaque text content)

Typed result schemas (kind: query | action, MCP structuredContent) are not yet carried by the resolved manifest — this section will gain detail when that lands.