yocoolab
v3.0.0Pin 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.
| Parameter | Type | Description |
|---|---|---|
message * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
limit | number | Number 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.
| Parameter | Type | Description |
|---|---|---|
correlationId | string | The correlationId of a specific selection. If omitted, uses the latest selection. |
thread_id | string | A 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.
| Parameter | Type | Description |
|---|---|---|
correlationId | string | The correlationId of a specific selection. If omitted, uses the latest selection. |
includePrompt | boolean | Whether to include a pre-built edit prompt with constraints (default: true). |
thread_id | string | A Yocoolab thread ID to use stored element_context instead of a live selection. |