Get Current Location
get_current_locationReturns the item currently selected in the Xojo IDE Navigator and its type, so you can verify which project item optional-location tools will act on.
Instructions
Returns the item selected in the Xojo IDE's Navigator and its type, as ' ()', e.g. 'Module1.Helper (Method)'. Tools whose location is optional act on this item when it is omitted, so check it before relying on that; select_project_item changes it. get_project_info returns the same plus the project's path and Xojo version. 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_current_location"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||