27 May 2026
Principal Engineer
Use WeVideo to create a new video project. Search for images of cats. Add the first 9 images to the timeline, each on a new layer, at the beginning. Arrange them in a 3 x 3 grid inside the canvas.
{
"name": "search_stock_videos",
"description": "Search the stock video library. Opens the library panel on the Videos tab and populates the query so the user sees the same results. Returns a list of matching videos. Note: `duration` is in milliseconds.",
"inputSchema": {
"query": {
"type": "string",
"description": "What to search for, e.g. 'sunset over city'."
}
}
}const addTodoTool = {
name: "addTodo",
description: "Add a new item to the to-do list",
inputSchema: {
type: "object",
properties: { text: { type: "string" } },
},
execute: async ({ text }) => {
// You should handle the persistence logic here (omitted for demo)
return `Added to-do: ${text}`;
}
};
navigator.modelContext.registerTool(addTodoTool);<form
toolname="supportRequestTool"
tooldescription="Submit a request for support."
action="/submit">
<label for="firstName">First Name</label>
<input type=text name=firstName>
<label for="lastName">Last Name</label>
<input type=text name=lastName>
<select name="select" required
toolparamdescription="Determines what team this request is routed to.">
<option value="Customer happiness team">Return my purchase.</option>
<option value="Distribution team">Check where my package is.</option>
<option value="Website support team">Get help on the website.</option>
</select>
<button type=submit>Submit</button>
</form>