mpfb_list_presets
List saved character presets in MPFB's config directory, returning the names accepted by the preset save and create tools, plus paths, sizes and existence.
Instructions
List the character presets saved in MPFB's user config directory -
MPFB's "save files", the same ones its own preset panel offers. Each
entry's name is what mpfb_save_preset and
mpfb_create_human_from_preset take; neither accepts a path.
Not capped and not paged, unlike the other listing tools: a preset
collection is tens of files. No preset is parsed, so this says nothing
about what is in one; mpfb_create_human_from_preset reports that for
the one it loads.
refresh=true rescans the directory through MPFB. MPFB caches the list
for the Blender session and rebuilds it only when a preset is saved, so
one written by hand, by another Blender or by an earlier session is
missing until then - but you do not need to pass refresh to find that
out: missing_from_mpfb_list already names any preset file the cache
does not hold, because this tool lists the directory itself as well.
result carries:
presets: per presetname,path,size_bytes,modified(ISO 8601 with a UTC offset) andexists.size_bytesandmodifiedcome fromos.stathere, not from MPFB, which records neither.exists: falsemeans MPFB's cached list still names a preset whose file has been deleted.Per preset,
addressableandnot_addressable_reason. MPFB's own panel accepts names these tools will not - anything that could become a path - so a preset saved by hand can be listed here and refused by the other two. Rare, and worth seeing here rather than in a refusal.config_dirandconfig_dir_exists: the directory that was scanned, reported whether or not anything was found, so an empty list is an answer rather than an ambiguity.count,files_in_config_dir,missing_from_mpfb_list,refreshed,listing_failed(a sentence when MPFB could not read the directory at all) andmessage.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| refresh | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||