Describe editable design settings
get_design_contractRead-only reference for the editable design format: supported fields, native units, options and limitations. It changes and runs nothing. Without selectors it returns an index of element types, their fields and the operations apply_project_changes accepts. Use component to inspect one native element type, add property for one field (text + decoration for laurels, badges and bubbles), or use command for the fields of one apply_project_changes operation. Use full: true only for the complete page schema before editing a whole design document.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"component": "text"
},
"name": "get_design_contract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| full | No | The complete page schema and every command, for editing a whole design document. Large; prefer a selector. | |
| command | No | Inspect the input schema for one edit operation. | |
| property | No | One top-level field of the selected component, e.g. decoration. | |
| component | No | Inspect only this native component. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||