Get Compile & Taxonomy Settings
get_compile_settingsRetrieve compile format definitions, section layouts, output file type, label and status definitions, and user-defined section types from a Scrivener project. Useful for inspecting compile settings before organizing or compiling.
Instructions
Return the project's compile-format definitions (from Settings/compile.xml) and its taxonomy: the named compile formats and their section-layout counts, the current output file type, label and status definitions (with colors), saved collections, and user-defined section types. Use this to discover what compile formats and metadata categories a project defines before compiling or organizing. Read-only; does not run a compile. If a project has never been compiled, hasCompileSettings is false and only the taxonomy is returned. Requires an open project (call open_project first).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_compile_settings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| labels | No | Label definitions with colors. | |
| options | No | Global compile options. | |
| statuses | No | Status definitions. | |
| collections | No | Saved collections (binder, saved searches, groups). | |
| sectionTypes | No | User-defined section types (Scene, Chapter, Part Heading, ...). | |
| compileFormats | Yes | Named compile formats the project defines. | |
| currentFileType | No | Default output file type of the last-used compile (e.g. "pdf"). | |
| hasCompileSettings | Yes | False when Settings/compile.xml is absent or unreadable. |