List Document Properties
list_doc_propertiesRetrieve the custom property definitions and current values for a specific document in an AFFiNE workspace.
Instructions
List the workspace custom-property definitions and a document's current values for them.
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 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docId | Yes | ||
| properties | Yes | ||
| definitions | Yes | ||
| workspaceId | Yes | ||
| orphanValues | Yes |