yocoolab

v3.0.0
io.github.Jonahbkerr/yocoolab Checked 3 days ago Published 2 months ago

Pin visual feedback on any live web page and send it to Claude Code, Cursor or your AI agent.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_companion_messages

Check for new messages from the AI Companion panel in the Chrome extension. Returns pending messages and clears the queue. Each message includes the user text, page context, and optional screenshot/element attachments.

reply_to_companion

Send a reply back to the AI Companion panel in the Chrome extension. The reply will appear as an assistant message in the companion chat UI. Supports Markdown formatting.

ParameterTypeDescription
message *stringThe reply message to display in the companion panel (supports Markdown)

get_latest_selection

Returns the most recent element selection from the Chrome extension. Includes element selector, tag, text content, classes, attributes, computed styles, and page context.

get_selection_history

Returns the last N element selections from the Chrome extension, newest first. Useful for comparing multiple elements or reviewing recent selections.

ParameterTypeDescription
limitnumberNumber of selections to return (max 50)

find_source_for_selection

Searches the workspace for source files that likely define or render the selected UI element. Returns ranked candidates with file paths, line ranges, confidence scores, and match reasons. Can work with live Chrome selections or stored thread element_context.

ParameterTypeDescription
correlationIdstringThe correlationId of a specific selection. If omitted, uses the latest selection.
thread_idstringA Yocoolab thread ID to use stored element_context instead of a live selection.

get_element_context

Returns a comprehensive summary of a UI element, including its DOM context, computed styles, and ranked source code candidates. Works with live Chrome selections or stored thread element_context. This is the primary tool to use when the user wants to modify a UI element.

ParameterTypeDescription
correlationIdstringThe correlationId of a specific selection. If omitted, uses the latest selection.
includePromptbooleanWhether to include a pre-built edit prompt with constraints (default: true).
thread_idstringA Yocoolab thread ID to use stored element_context instead of a live selection.