arcade-mcp/toolkits/xero_api/arcade_xero_api/wrapper_tools/RetrieveBudgetDetails.json
2025-10-10 16:35:55 -03:00

203 lines
5.9 KiB
JSON

{
"name": "RetrieveBudgetDetails",
"fully_qualified_name": "XeroApi.RetrieveBudgetDetails@0.1.0",
"description": "Retrieve detailed information about a budget including lines.\n\nUse this tool to get information about a specified budget by its ID, including all associated budget lines.",
"toolkit": {
"name": "ArcadeXeroApi",
"description": null,
"version": "0.1.0"
},
"input": {
"parameters": [
{
"name": "budget_identifier",
"required": true,
"description": "Unique identifier for budgets. Required to retrieve specific budget details including budget lines.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "Unique identifier for Budgets"
},
"inferrable": true,
"http_endpoint_parameter_name": "BudgetID"
},
{
"name": "tenant_identifier",
"required": true,
"description": "Xero identifier for the Tenant to specify which tenant's budget to retrieve.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "Xero identifier for Tenant"
},
"inferrable": true,
"http_endpoint_parameter_name": "xero-tenant-id"
},
{
"name": "filter_end_date",
"required": false,
"description": "Specifies the end date to filter the budget data. Use the format YYYY-MM-DD.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "Filter by start date"
},
"inferrable": true,
"http_endpoint_parameter_name": "DateTo"
},
{
"name": "filter_start_date",
"required": false,
"description": "The start date from which to filter the budget details. Format must be YYYY-MM-DD.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "Filter by end date"
},
"inferrable": true,
"http_endpoint_parameter_name": "DateFrom"
}
]
},
"output": {
"description": "Response from the API endpoint 'getBudget'.",
"available_modes": [
"value",
"error",
"null"
],
"value_schema": {
"val_type": "json",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": null
}
},
"requirements": {
"authorization": {
"provider_id": "arcade-xero",
"provider_type": "oauth2",
"id": null,
"oauth2": {
"scopes": [
"accounting.budgets.read"
]
}
},
"secrets": null,
"metadata": null
},
"deprecation_message": null,
"metadata": {
"object_type": "api_wrapper_tool",
"version": "1.0.0",
"description": "Tools that enable LLMs to interact directly with the Xero API."
},
"http_endpoint": {
"metadata": {
"object_type": "http_endpoint",
"version": "1.0.0",
"description": ""
},
"url": "https://api.xero.com/api.xro/2.0/Budgets/{BudgetID}",
"http_method": "GET",
"headers": {
"Accept": "application/json"
},
"parameters": [
{
"name": "DateTo",
"tool_parameter_name": "filter_end_date",
"description": "Filter by start date",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "Filter by start date"
},
"accepted_as": "query",
"required": false,
"deprecated": false,
"documentation_urls": []
},
{
"name": "DateFrom",
"tool_parameter_name": "filter_start_date",
"description": "Filter by end date",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "Filter by end date"
},
"accepted_as": "query",
"required": false,
"deprecated": false,
"documentation_urls": []
},
{
"name": "BudgetID",
"tool_parameter_name": "budget_identifier",
"description": "Unique identifier for Budgets",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "Unique identifier for Budgets"
},
"accepted_as": "path",
"required": true,
"deprecated": false,
"documentation_urls": []
},
{
"name": "xero-tenant-id",
"tool_parameter_name": "tenant_identifier",
"description": "Xero identifier for Tenant",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "Xero identifier for Tenant"
},
"accepted_as": "header",
"required": true,
"deprecated": false,
"documentation_urls": []
}
],
"documentation_urls": [],
"secrets": [
{
"arcade_key": "auth_token",
"parameter_name": "Authorization",
"accepted_as": "header",
"formatted_value": "Bearer {authorization}",
"description": "The OAuth token to use for authentication.",
"is_auth_token": true
}
]
}
}