Adrian Faciu
Principal software engineer. Focused on front-end. Learning something new each day. Building things at WeVideo.
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>
By Adrian Faciu
We've all added some AI to our applications. A summarize button here, a transcribe button there — pockets of functionality, glued onto the existing UI. But the next step is different. What if our entire application became a set of tools that an agent can use, on behalf of the user? In this talk, we'll see how to transform an existing web application so agents can use it. We'll look at what makes a good tool, how to expose them, and how to use them inside or outside the application.
Principal software engineer. Focused on front-end. Learning something new each day. Building things at WeVideo.