use_file
Sets an installed library file as the default for all later renders, such as a different image model version. Omit the name to reset to the default.
Instructions
Make an installed file the one every later render uses, such as another version
of the image model. Only when the user asked for it. An explicit value in a render's
params still wins for that render. Call with no name to go back to the default.
Args:
kind: A library kind from get_guide that fills one param, such as model.
LoRAs are not chosen this way; pass them in params per render.
name: A file name exactly as list_library returns it. Omit to reset.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"kind": "<kind>"
},
"name": "use_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |