Get or Set Item Description
get_item_descriptionReads or updates the Inspector description of a Xojo project item or member, using a dot path or the current selection; omit the value to read it or provide text to replace or clear it.
Instructions
Reads or sets the Description of a project item or member (the note shown in the IDE's Inspector, not its code): the one at location, or the selected one. Without value it returns the description; with value it replaces it and returns 'OK', and an empty value clears it. Giving a location also selects that item. A set stays in the IDE until save_project. Needs the Xojo IDE running with the project open.
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_item_description"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | No | New description, replacing the old one. Omit to read it instead. | |
| location | No | Dot-separated path, e.g. 'Module1.Helper'. Omit for the selected item. |