Find a saved tool
Search the canvas's tool library (tools you or your workspace built) and Fuser's featured tools by title and description, matching any of your words, best first; one call with several words beats several one-word searches. When nothing matches well it also lists every featured tool by title, so pick from that list rather than searching again. Place a match with canvas_edit (toolId on the new Tool node). Building a new one with tool_build prompt is fine when nothing fits.
/v1/tool_searchtool_searchTry it
{
"tools": [
{
"toolId": "3f2b8c1e-7a4d-4e9b-9c2a-5d6e7f8a9b0c",
"description": "A coral reef at golden hour, wide shot.",
"featured": false,
"workspaceId": "3f2b8c1e-7a4d-4e9b-9c2a-5d6e7f8a9b0c",
"tool": {
"title": "Coral reef poster",
"mode": "free",
"inputs": [
{
"socket": "tool2_in_image",
"kind": "image",
"many": false,
"required": false
}
],
"controls": [
{
"socket": "tool2_in_image",
"label": "Prompt",
"kind": "slider",
"default": 1,
"min": 1,
"max": 1
}
],
"outputs": [
{
"socket": "tool2_in_image",
"kind": "image"
}
]
}
}
],
"featured": [
{
"toolId": "3f2b8c1e-7a4d-4e9b-9c2a-5d6e7f8a9b0c",
"title": "Coral reef poster"
}
]
}Example
curl "https://api.fuser.studio/v1/tool_search?canvasId=3f2b8c1e-7a4d-4e9b-9c2a-5d6e7f8a9b0c" \
-H "x-api-key: $FUSER_API_KEY"const result = await fuser.tool.search({
canvasId: '3f2b8c1e-7a4d-4e9b-9c2a-5d6e7f8a9b0c',
});See the TypeScript SDK.
Input
canvasIdstringThe canvas id. Pass it to canvas_get, canvas_edit and run_start.
querystringlimitintegerdefault8How many to return, at most 20.
Output
Finish uploading files
Step 2: returns a link for every file that arrived, to use as an ImageNode or VideoNode input, and says why for any that did not. For files the user is adding on the upload page, call it after they say they are done.
Build a tool
Turn a Tool node (type UtilityNode, added with canvas_edit) into a working tool: describe it in prompt and Fuser writes its code, or place a saved one with toolId. Tools do what generators can't: join, cut, trim or speed up videos, mix audio, crop, grid, filter, measure and convert between images, video, audio, 3D models, text and JSON (not PDF, ZIP or other files). Call it again with a prompt to change a built tool, or with neither to check on a build. Once built, wire its input sockets and set its controls with canvas_edit, then run it like any node; free tools cost nothing to run.