List Document Properties
list_doc_propertiesLists workspace custom-property definitions and a document's property values; optionally returns retained legacy data separately for recovery without migrating or writing anything.
Instructions
List native workspace custom-property definitions and document values. Set includeLegacy to read older unscoped data separately for recovery; this never migrates or writes data.
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": {
"docId": "<docId>"
},
"name": "list_doc_properties"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docId | Yes | ||
| workspaceId | No | ||
| includeLegacy | No | Include retained pre-3.8.4 data in a separate legacy result for manual recovery |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| code | No | ||
| docId | No | ||
| error | No | ||
| legacy | No | ||
| details | No | ||
| causeCode | No | ||
| retryable | No | ||
| properties | No | ||
| definitions | No | ||
| workspaceId | No | ||
| orphanValues | No | ||
| recoveryGuidance | No |