Get workspace item
lca_getRead a saved workspace object by ref, or list systems, results or workspaces. Takes exactly one of ref (one object's detail) or kind (a list). A ref is read in the workspace named by workspace, which it requires: each workspace numbers its objects from 1. A kind list reads that workspace, else the connection's default. Refs: s/a/c/b/v/r/n<N> → system / assessment / comparison / contribution analysis / sensitivity analysis / report / facility inventory. An s<N> read also states the system's kind and its edit tool; form='authored' returns the shape the compose and edit tools accept. An n<N> read gives its lines; form='grid' reads its stored file (sheet index, then a window by sheet + range). Kinds: 'systems' / 'assessments' / 'comparisons' / 'contribution_analyses' / 'sensitivity_analyses' / 'reports' / 'inventories' return paginated lists (filters: query, system_ref, method, assessment_status); 'workspaces' / 'sources' list those available. UUIDs are not accepted.
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": "lca_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Single-entity ref: `s`/`a`/`c`/`b`/`v`/`r`/`n<N>`. Mutually exclusive with `kind`. | |
| file | No | form='grid' on an `n<N>`: which uploaded file, by its number (default: the newest); a cell or range anchor names the same number as `file_seq`. | |
| form | No | ref='s<N>': 'snapshot' (default) is the structural read. 'authored' returns the system lifted back to the AUTHORED form — the shape `lca_compose_assembly` / `lca_compose_linked` speak, tagged with its `kind`, carrying a multi-stage bill of quantities' stage DAG unflattened and a linked system's `links[]` (neither of which the snapshot has). Read this before editing a system you did not just author. ref='n<N>': 'grid' reads the stored spreadsheet instead of the lines: the sheet index, or with `sheet` + `range` one window of cells. | |
| kind | No | Collection mode. Mutually exclusive with `ref`. 'workspaces' and 'sources' are the odd ones out: they list the WORKSPACES / SOURCES available to you rather than the contents of the current one. | |
| limit | No | ||
| query | No | Free-text match on name/description (case-insensitive). | |
| range | No | form='grid' on an `n<N>`: the A1 range to read, e.g. `A1:F20`; give it with `sheet`. | |
| sheet | No | form='grid' on an `n<N>`: the sheet to read a window of; give it with `range`. | |
| method | No | kind='assessments': substring match on method_name. | |
| offset | No | ||
| phases | No | ref='a<N>' or 'c<N>' only: read the saved result under these life-cycle phases — the backend sums them (a comparison sums each target's), and its text adds a column for the selection. A read, never stored and never re-run. Each value is a phase (production, distribution, use, end_of_life, beyond_boundary) or 'unassigned' (the parts no tag files). Omitted = the default total (every phase except beyond_boundary, plus unassigned). Refused, with the reason, when the result's phase rows are incomplete; a part nobody tagged counts only under 'unassigned'. | |
| workspace | No | Name of the workspace to read, as `lca_get(kind='workspaces')` lists it. Required with `ref`: each workspace numbers its objects from 1, so a ref is read in the workspace it came from. Omitted with `kind`: this connection's default workspace, which every conversation on the connection shares and which is often an empty sandbox. | |
| system_ref | No | kind='assessments': filter to assessments on a single system. | |
| assessment_status | No | kind='assessments': filter by status. Every saved assessment is completed (a failed solve saves nothing). |