{"id":"pageworkers_generic_urls_actions","name":"PageWorkers Generic URLs Actions","alias":"PageWorkersGenericUrlsActions","aliases":["pageworkers","PageWorkers"],"description_short":"Update metadata or apply custom changes to URLs (PageWorkers).","description_long":"\n    This agent creates a PageWorkers optimization for a page from your most recent crawl to update its title, description, or H1 tag.\n    ","description_tool_prompt":"\n    Update any title/description/h1 for a list of URLs through PageWorkers, and apply custom changes to specific elements.\n    ","source":"Botify","conversation_examples":["Update title for https://www.example.org/p/5866-toothbrush with 'The Best Electric Toothbrush' and description with 'Discover the best electric toothbrush: infinite battery life, 3 modes, and more'","Add custom changes to https://www.example.org/p/5866-toothbrush: prepend 'NEW! ' to the product name element"],"tags":["collaboration"],"available_in_chat":true,"available_in_deepthink":true,"available_in_mcp":true,"mcp_audience":"all","config":{"type":"object","properties":{},"required":[]},"item":{"type":"object","properties":{"urls":{"description":"List of URLs and their metadata updates","items":{"$ref":"#/$defs/URLMetadataUpdate"},"title":"URLs","type":"array"}},"required":["urls"],"$defs":{"CustomChange":{"description":"A custom change to apply to the page.","properties":{"selector":{"description":"CSS selector of the element to update (ex: \"h1\", \".article-count\", etc).","title":"Selector","type":"string"},"strategy":{"description":"Update strategy to use","enum":["prepend","append","insertAfter","insertBefore","replace","replaceElement"],"title":"Strategy","type":"string"},"value":{"description":"Value to update","title":"Value","type":"string"},"max_date":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Maximum date to apply the update (YYYY-MM-DD format)","title":"Max Date"}},"required":["selector","strategy","value"],"title":"CustomChange","type":"object"},"URLMetadataUpdate":{"description":"Metadata updates to apply to a specific URL.","properties":{"url":{"description":"Specific URL to update (wildcards like '*' are not allowed)","title":"Url","type":"string"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"New title to set for the page","title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"New description to set for the page","title":"Description"},"h1":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"New H1 to set for the page","title":"H1"},"custom_changes":{"default":[],"description":"List of custom changes to apply to specific elements on the page","items":{"$ref":"#/$defs/CustomChange"},"maxItems":10,"title":"Custom Changes","type":"array"}},"required":["url"],"title":"URLMetadataUpdate","type":"object"}}},"response":{"$defs":{"CustomChange":{"description":"A custom change to apply to the page.","properties":{"selector":{"description":"CSS selector of the element to update (ex: \"h1\", \".article-count\", etc).","title":"Selector","type":"string"},"strategy":{"description":"Update strategy to use","enum":["prepend","append","insertAfter","insertBefore","replace","replaceElement"],"title":"Strategy","type":"string"},"value":{"description":"Value to update","title":"Value","type":"string"},"max_date":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Maximum date to apply the update (YYYY-MM-DD format)","title":"Max Date"}},"required":["selector","strategy","value"],"title":"CustomChange","type":"object"},"URLMetadataUpdate":{"description":"Metadata updates to apply to a specific URL.","properties":{"url":{"description":"Specific URL to update (wildcards like '*' are not allowed)","title":"Url","type":"string"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"New title to set for the page","title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"New description to set for the page","title":"Description"},"h1":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"New H1 to set for the page","title":"H1"},"custom_changes":{"default":[],"description":"List of custom changes to apply to specific elements on the page","items":{"$ref":"#/$defs/CustomChange"},"maxItems":10,"title":"Custom Changes","type":"array"}},"required":["url"],"title":"URLMetadataUpdate","type":"object"}},"properties":{"websiteId":{"description":"The website ID","title":"Websiteid","type":"string"},"moduleId":{"description":"The PageWorkers module ID","title":"Moduleid","type":"string"},"urls":{"description":"List of URLs and their metadata updates","items":{"$ref":"#/$defs/URLMetadataUpdate"},"title":"Urls","type":"array"},"message":{"description":"Message about the operation","title":"Message","type":"string"},"organization":{"description":"The organization slug","title":"Organization","type":"string"},"project":{"description":"The project slug","title":"Project","type":"string"},"demo":{"description":"Whether the operation was run in demo mode","title":"Demo","type":"boolean"}},"required":["websiteId","moduleId","urls","message","organization","project","demo"],"title":"PageWorkersProcessedItem","type":"object"},"has_canvas":false,"open_canvas_automatically":false}