Xero API Starter MCP server (#603)
This commit is contained in:
parent
3ba60fdaab
commit
103732cc2e
164 changed files with 35555 additions and 0 deletions
|
|
@ -1,3 +1,4 @@
|
|||
arcade-box-api
|
||||
arcade-slack-api
|
||||
arcade-stripe-api
|
||||
arcade-xero-api
|
||||
|
|
|
|||
18
toolkits/xero_api/.pre-commit-config.yaml
Normal file
18
toolkits/xero_api/.pre-commit-config.yaml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
files: ^.*/xero_api/.*
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: "v4.4.0"
|
||||
hooks:
|
||||
- id: check-case-conflict
|
||||
- id: check-merge-conflict
|
||||
- id: check-toml
|
||||
- id: check-yaml
|
||||
- id: end-of-file-fixer
|
||||
- id: trailing-whitespace
|
||||
|
||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||
rev: v0.6.7
|
||||
hooks:
|
||||
- id: ruff
|
||||
args: [--fix]
|
||||
- id: ruff-format
|
||||
44
toolkits/xero_api/.ruff.toml
Normal file
44
toolkits/xero_api/.ruff.toml
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
target-version = "py310"
|
||||
line-length = 100
|
||||
fix = true
|
||||
|
||||
[lint]
|
||||
select = [
|
||||
# flake8-2020
|
||||
"YTT",
|
||||
# flake8-bandit
|
||||
"S",
|
||||
# flake8-bugbear
|
||||
"B",
|
||||
# flake8-builtins
|
||||
"A",
|
||||
# flake8-comprehensions
|
||||
"C4",
|
||||
# flake8-debugger
|
||||
"T10",
|
||||
# flake8-simplify
|
||||
"SIM",
|
||||
# isort
|
||||
"I",
|
||||
# mccabe
|
||||
"C90",
|
||||
# pycodestyle
|
||||
"E", "W",
|
||||
# pyflakes
|
||||
"F",
|
||||
# pygrep-hooks
|
||||
"PGH",
|
||||
# pyupgrade
|
||||
"UP",
|
||||
# ruff
|
||||
"RUF",
|
||||
# tryceratops
|
||||
"TRY",
|
||||
]
|
||||
|
||||
[lint.per-file-ignores]
|
||||
"**/tests/*" = ["S101"]
|
||||
|
||||
[format]
|
||||
preview = true
|
||||
skip-magic-trailing-comma = false
|
||||
21
toolkits/xero_api/LICENSE
Normal file
21
toolkits/xero_api/LICENSE
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
MIT License
|
||||
|
||||
Copyright (c) 2025, Arcade AI
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
54
toolkits/xero_api/Makefile
Normal file
54
toolkits/xero_api/Makefile
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
.PHONY: help
|
||||
|
||||
help:
|
||||
@echo "🛠️ github Commands:\n"
|
||||
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
|
||||
|
||||
.PHONY: install
|
||||
install: ## Install the uv environment and install all packages with dependencies
|
||||
@echo "🚀 Creating virtual environment and installing all packages using uv"
|
||||
@uv sync --active --all-extras --no-sources
|
||||
@if [ -f .pre-commit-config.yaml ]; then uv run --no-sources pre-commit install; fi
|
||||
@echo "✅ All packages and dependencies installed via uv"
|
||||
|
||||
.PHONY: install-local
|
||||
install-local: ## Install the uv environment and install all packages with dependencies with local Arcade sources
|
||||
@echo "🚀 Creating virtual environment and installing all packages using uv"
|
||||
@uv sync --active --all-extras
|
||||
@if [ -f .pre-commit-config.yaml ]; then uv run pre-commit install; fi
|
||||
@echo "✅ All packages and dependencies installed via uv"
|
||||
.PHONY: build
|
||||
build: clean-build ## Build wheel file using poetry
|
||||
@echo "🚀 Creating wheel file"
|
||||
uv build
|
||||
|
||||
.PHONY: clean-build
|
||||
clean-build: ## clean build artifacts
|
||||
@echo "🗑️ Cleaning dist directory"
|
||||
rm -rf dist
|
||||
|
||||
.PHONY: test
|
||||
test: ## Test the code with pytest
|
||||
@echo "🚀 Testing code: Running pytest"
|
||||
@uv run --no-sources pytest -W ignore -v --cov --cov-config=pyproject.toml --cov-report=xml
|
||||
|
||||
.PHONY: coverage
|
||||
coverage: ## Generate coverage report
|
||||
@echo "coverage report"
|
||||
@uv run --no-sources coverage report
|
||||
@echo "Generating coverage report"
|
||||
@uv run --no-sources coverage html
|
||||
|
||||
.PHONY: bump-version
|
||||
bump-version: ## Bump the version in the pyproject.toml file by a patch version
|
||||
@echo "🚀 Bumping version in pyproject.toml"
|
||||
uv version --no-sources --bump patch
|
||||
|
||||
.PHONY: check
|
||||
check: ## Run code quality tools.
|
||||
@if [ -f .pre-commit-config.yaml ]; then\
|
||||
echo "🚀 Linting code: Running pre-commit";\
|
||||
uv run --no-sources pre-commit run -a;\
|
||||
fi
|
||||
@echo "🚀 Static type checking: Running mypy"
|
||||
@uv run --no-sources mypy --config-file=pyproject.toml
|
||||
0
toolkits/xero_api/arcade_xero_api/__init__.py
Normal file
0
toolkits/xero_api/arcade_xero_api/__init__.py
Normal file
6585
toolkits/xero_api/arcade_xero_api/tools/__init__.py
Normal file
6585
toolkits/xero_api/arcade_xero_api/tools/__init__.py
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,171 @@
|
|||
{
|
||||
"name": "AddContactHistoryRecord",
|
||||
"fully_qualified_name": "XeroApi.AddContactHistoryRecord@0.1.0",
|
||||
"description": "Create a new history record for a contact in Xero.\n\nThis tool allows you to add a new history entry for a specific contact in Xero. Use it to log interactions, notes, or any relevant information about the contact.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "contact_unique_identifier",
|
||||
"required": true,
|
||||
"description": "Unique identifier for a Contact in Xero. Required to specify which contact the history record is for.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a Contact"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "ContactID"
|
||||
},
|
||||
{
|
||||
"name": "tenant_identifier",
|
||||
"required": true,
|
||||
"description": "Xero identifier for the Tenant. Required to specify which tenant's contact history to update.",
|
||||
"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": "idempotency_key",
|
||||
"required": false,
|
||||
"description": "A unique string up to 128 characters to safely retry requests without duplicate processing.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "This allows you to safely retry requests without the risk of duplicate processing. 128 character max."
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "Idempotency-Key"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'createContactHistory'.",
|
||||
"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.contacts"
|
||||
]
|
||||
}
|
||||
},
|
||||
"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/Contacts/{ContactID}/History",
|
||||
"http_method": "PUT",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "ContactID",
|
||||
"tool_parameter_name": "contact_unique_identifier",
|
||||
"description": "Unique identifier for a Contact",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a Contact"
|
||||
},
|
||||
"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": []
|
||||
},
|
||||
{
|
||||
"name": "Idempotency-Key",
|
||||
"tool_parameter_name": "idempotency_key",
|
||||
"description": "This allows you to safely retry requests without the risk of duplicate processing. 128 character max.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "This allows you to safely retry requests without the risk of duplicate processing. 128 character max."
|
||||
},
|
||||
"accepted_as": "header",
|
||||
"required": false,
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,171 @@
|
|||
{
|
||||
"name": "AddExpenseClaimHistory",
|
||||
"fully_qualified_name": "XeroApi.AddExpenseClaimHistory@0.1.0",
|
||||
"description": "Creates a history record for an expense claim.\n\nUse this tool to add a record to the history of a specific expense claim. It should be called when there is a need to document a change or update related to an expense claim in the system.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "expense_claim_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for the specific expense claim to add a history record.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a ExpenseClaim"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "ExpenseClaimID"
|
||||
},
|
||||
{
|
||||
"name": "xero_tenant_id",
|
||||
"required": true,
|
||||
"description": "The unique identifier for the Xero tenant. This is required to specify which tenant the expense claim history record is associated with.",
|
||||
"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": "idempotency_key",
|
||||
"required": false,
|
||||
"description": "A unique string (max 128 characters) to safely retry requests without duplicating processing.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "This allows you to safely retry requests without the risk of duplicate processing. 128 character max."
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "Idempotency-Key"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'createExpenseClaimHistory'.",
|
||||
"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.transactions"
|
||||
]
|
||||
}
|
||||
},
|
||||
"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/ExpenseClaims/{ExpenseClaimID}/History",
|
||||
"http_method": "PUT",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "ExpenseClaimID",
|
||||
"tool_parameter_name": "expense_claim_id",
|
||||
"description": "Unique identifier for a ExpenseClaim",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a ExpenseClaim"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "xero_tenant_id",
|
||||
"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": []
|
||||
},
|
||||
{
|
||||
"name": "Idempotency-Key",
|
||||
"tool_parameter_name": "idempotency_key",
|
||||
"description": "This allows you to safely retry requests without the risk of duplicate processing. 128 character max.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "This allows you to safely retry requests without the risk of duplicate processing. 128 character max."
|
||||
},
|
||||
"accepted_as": "header",
|
||||
"required": false,
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,171 @@
|
|||
{
|
||||
"name": "AddQuoteHistory",
|
||||
"fully_qualified_name": "XeroApi.AddQuoteHistory@0.1.0",
|
||||
"description": "Creates a history record for a specific quote.\n\nUse this tool to add a history record to a specific quote in the Xero application. This is useful for tracking changes or updates made to a quote over time.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "quote_identifier",
|
||||
"required": true,
|
||||
"description": "Unique identifier for a quote to which the history will be added.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for an Quote"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "QuoteID"
|
||||
},
|
||||
{
|
||||
"name": "xero_tenant_id",
|
||||
"required": true,
|
||||
"description": "Xero identifier for the tenant. Required for specifying the tenant within the Xero system.",
|
||||
"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": "idempotency_key",
|
||||
"required": false,
|
||||
"description": "Unique key to safely retry requests and avoid duplicate processing (max 128 characters).",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "This allows you to safely retry requests without the risk of duplicate processing. 128 character max."
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "Idempotency-Key"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'createQuoteHistory'.",
|
||||
"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.transactions"
|
||||
]
|
||||
}
|
||||
},
|
||||
"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/Quotes/{QuoteID}/History",
|
||||
"http_method": "PUT",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "QuoteID",
|
||||
"tool_parameter_name": "quote_identifier",
|
||||
"description": "Unique identifier for an Quote",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for an Quote"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "xero_tenant_id",
|
||||
"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": []
|
||||
},
|
||||
{
|
||||
"name": "Idempotency-Key",
|
||||
"tool_parameter_name": "idempotency_key",
|
||||
"description": "This allows you to safely retry requests without the risk of duplicate processing. 128 character max.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "This allows you to safely retry requests without the risk of duplicate processing. 128 character max."
|
||||
},
|
||||
"accepted_as": "header",
|
||||
"required": false,
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,171 @@
|
|||
{
|
||||
"name": "CreateBankTransactionHistory",
|
||||
"fully_qualified_name": "XeroApi.CreateBankTransactionHistory@0.1.0",
|
||||
"description": "Creates a record in the bank transaction history.\n\nUse this tool to create a history record for a specific bank transaction in Xero. It's useful for logging changes or updates to bank transactions.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "bank_transaction_id",
|
||||
"required": true,
|
||||
"description": "Xero-generated unique identifier for the bank transaction to create a history record.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Xero generated unique identifier for a bank transaction"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "BankTransactionID"
|
||||
},
|
||||
{
|
||||
"name": "tenant_id",
|
||||
"required": true,
|
||||
"description": "Xero identifier for the tenant. This is required to specify which Xero account the transaction history will be associated with.",
|
||||
"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": "idempotency_key",
|
||||
"required": false,
|
||||
"description": "A unique key to prevent duplicate processing. Maximum 128 characters.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "This allows you to safely retry requests without the risk of duplicate processing. 128 character max."
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "Idempotency-Key"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'createBankTransactionHistoryRecord'.",
|
||||
"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.transactions"
|
||||
]
|
||||
}
|
||||
},
|
||||
"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/BankTransactions/{BankTransactionID}/History",
|
||||
"http_method": "PUT",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "BankTransactionID",
|
||||
"tool_parameter_name": "bank_transaction_id",
|
||||
"description": "Xero generated unique identifier for a bank transaction",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Xero generated unique identifier for a bank transaction"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "tenant_id",
|
||||
"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": []
|
||||
},
|
||||
{
|
||||
"name": "Idempotency-Key",
|
||||
"tool_parameter_name": "idempotency_key",
|
||||
"description": "This allows you to safely retry requests without the risk of duplicate processing. 128 character max.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "This allows you to safely retry requests without the risk of duplicate processing. 128 character max."
|
||||
},
|
||||
"accepted_as": "header",
|
||||
"required": false,
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,171 @@
|
|||
{
|
||||
"name": "CreateBankTransferHistory",
|
||||
"fully_qualified_name": "XeroApi.CreateBankTransferHistory@0.1.0",
|
||||
"description": "Create a history record for a bank transfer.\n\nThis tool creates a history record for a specified bank transfer within the Xero service. It is useful for tracking changes and updates to bank transfers.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "bank_transfer_id",
|
||||
"required": true,
|
||||
"description": "Xero generated unique identifier for the specific bank transfer to create a history record for.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Xero generated unique identifier for a bank transfer"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "BankTransferID"
|
||||
},
|
||||
{
|
||||
"name": "xero_tenant_id",
|
||||
"required": true,
|
||||
"description": "The unique identifier for a Xero tenant. Required to specify which tenant's data to access.",
|
||||
"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": "idempotency_key",
|
||||
"required": false,
|
||||
"description": "A unique string to safely retry requests without risk of duplication, limited to 128 characters.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "This allows you to safely retry requests without the risk of duplicate processing. 128 character max."
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "Idempotency-Key"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'createBankTransferHistoryRecord'.",
|
||||
"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.transactions"
|
||||
]
|
||||
}
|
||||
},
|
||||
"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/BankTransfers/{BankTransferID}/History",
|
||||
"http_method": "PUT",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "BankTransferID",
|
||||
"tool_parameter_name": "bank_transfer_id",
|
||||
"description": "Xero generated unique identifier for a bank transfer",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Xero generated unique identifier for a bank transfer"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "xero_tenant_id",
|
||||
"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": []
|
||||
},
|
||||
{
|
||||
"name": "Idempotency-Key",
|
||||
"tool_parameter_name": "idempotency_key",
|
||||
"description": "This allows you to safely retry requests without the risk of duplicate processing. 128 character max.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "This allows you to safely retry requests without the risk of duplicate processing. 128 character max."
|
||||
},
|
||||
"accepted_as": "header",
|
||||
"required": false,
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,171 @@
|
|||
{
|
||||
"name": "CreateBatchPaymentHistoryRecord",
|
||||
"fully_qualified_name": "XeroApi.CreateBatchPaymentHistoryRecord@0.1.0",
|
||||
"description": "Creates a history record for a batch payment.\n\nThis tool is used to create a historical record for a specified batch payment in Xero. Call this tool when you want to log information or updates about a batch payment's history.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "batch_payment_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for the specific batch payment in Xero.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for BatchPayment"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "BatchPaymentID"
|
||||
},
|
||||
{
|
||||
"name": "xero_tenant_identifier",
|
||||
"required": true,
|
||||
"description": "Xero identifier for Tenant. This is required to specify which tenant's batch payment history is being recorded.",
|
||||
"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": "idempotency_key",
|
||||
"required": false,
|
||||
"description": "A unique string to prevent duplicate processing. Maximum 128 characters.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "This allows you to safely retry requests without the risk of duplicate processing. 128 character max."
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "Idempotency-Key"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'createBatchPaymentHistoryRecord'.",
|
||||
"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.transactions"
|
||||
]
|
||||
}
|
||||
},
|
||||
"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/BatchPayments/{BatchPaymentID}/History",
|
||||
"http_method": "PUT",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "BatchPaymentID",
|
||||
"tool_parameter_name": "batch_payment_id",
|
||||
"description": "Unique identifier for BatchPayment",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for BatchPayment"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "xero_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": []
|
||||
},
|
||||
{
|
||||
"name": "Idempotency-Key",
|
||||
"tool_parameter_name": "idempotency_key",
|
||||
"description": "This allows you to safely retry requests without the risk of duplicate processing. 128 character max.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "This allows you to safely retry requests without the risk of duplicate processing. 128 character max."
|
||||
},
|
||||
"accepted_as": "header",
|
||||
"required": false,
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,171 @@
|
|||
{
|
||||
"name": "CreateInvoiceHistory",
|
||||
"fully_qualified_name": "XeroApi.CreateInvoiceHistory@0.1.0",
|
||||
"description": "Create a history record for a specific invoice.\n\nUse this tool to log a history record for a particular invoice in Xero. Ideal for tracking changes or adding comments to an invoice's history.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "invoice_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for the invoice. This is required to create a history record for the specified invoice in Xero.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for an Invoice"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "InvoiceID"
|
||||
},
|
||||
{
|
||||
"name": "tenant_identifier",
|
||||
"required": true,
|
||||
"description": "Xero identifier for the Tenant. Required for specifying which tenant the invoice history belongs to.",
|
||||
"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": "idempotency_key",
|
||||
"required": false,
|
||||
"description": "A string up to 128 characters to safely retry requests without duplicate processing.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "This allows you to safely retry requests without the risk of duplicate processing. 128 character max."
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "Idempotency-Key"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'createInvoiceHistory'.",
|
||||
"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.transactions"
|
||||
]
|
||||
}
|
||||
},
|
||||
"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/Invoices/{InvoiceID}/History",
|
||||
"http_method": "PUT",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "InvoiceID",
|
||||
"tool_parameter_name": "invoice_id",
|
||||
"description": "Unique identifier for an Invoice",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for an Invoice"
|
||||
},
|
||||
"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": []
|
||||
},
|
||||
{
|
||||
"name": "Idempotency-Key",
|
||||
"tool_parameter_name": "idempotency_key",
|
||||
"description": "This allows you to safely retry requests without the risk of duplicate processing. 128 character max.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "This allows you to safely retry requests without the risk of duplicate processing. 128 character max."
|
||||
},
|
||||
"accepted_as": "header",
|
||||
"required": false,
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,171 @@
|
|||
{
|
||||
"name": "CreateItemHistory",
|
||||
"fully_qualified_name": "XeroApi.CreateItemHistory@0.1.0",
|
||||
"description": "Creates a history record for a specific item in Xero.\n\nThis tool is used to create a history record for a specific item in Xero, allowing users to keep track of changes or updates made to an item.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "item_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for the item to create a history record for in Xero.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for an Item"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "ItemID"
|
||||
},
|
||||
{
|
||||
"name": "tenant_identifier",
|
||||
"required": true,
|
||||
"description": "Xero identifier for the tenant, required to specify which tenant's item history is being updated.",
|
||||
"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": "idempotency_key",
|
||||
"required": false,
|
||||
"description": "A unique key to ensure request retrying without duplication, max 128 characters.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "This allows you to safely retry requests without the risk of duplicate processing. 128 character max."
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "Idempotency-Key"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'createItemHistory'.",
|
||||
"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.settings"
|
||||
]
|
||||
}
|
||||
},
|
||||
"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/Items/{ItemID}/History",
|
||||
"http_method": "PUT",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "ItemID",
|
||||
"tool_parameter_name": "item_id",
|
||||
"description": "Unique identifier for an Item",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for an Item"
|
||||
},
|
||||
"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": []
|
||||
},
|
||||
{
|
||||
"name": "Idempotency-Key",
|
||||
"tool_parameter_name": "idempotency_key",
|
||||
"description": "This allows you to safely retry requests without the risk of duplicate processing. 128 character max.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "This allows you to safely retry requests without the risk of duplicate processing. 128 character max."
|
||||
},
|
||||
"accepted_as": "header",
|
||||
"required": false,
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,171 @@
|
|||
{
|
||||
"name": "CreateJournalHistoryRecord",
|
||||
"fully_qualified_name": "XeroApi.CreateJournalHistoryRecord@0.1.0",
|
||||
"description": "Creates a history record for a specific manual journal.\n\nUse this tool to log a new history entry for a specific manual journal in Xero.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "manual_journal_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for a specific manual journal in Xero.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a ManualJournal"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "ManualJournalID"
|
||||
},
|
||||
{
|
||||
"name": "tenant_identifier",
|
||||
"required": true,
|
||||
"description": "Xero identifier for the tenant is required to specify which tenant's manual journal is being updated.",
|
||||
"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": "idempotency_key",
|
||||
"required": false,
|
||||
"description": "A unique string, up to 128 characters, to safely retry requests without duplicate processing.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "This allows you to safely retry requests without the risk of duplicate processing. 128 character max."
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "Idempotency-Key"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'createManualJournalHistoryRecord'.",
|
||||
"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.transactions"
|
||||
]
|
||||
}
|
||||
},
|
||||
"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/ManualJournals/{ManualJournalID}/History",
|
||||
"http_method": "PUT",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "ManualJournalID",
|
||||
"tool_parameter_name": "manual_journal_id",
|
||||
"description": "Unique identifier for a ManualJournal",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a ManualJournal"
|
||||
},
|
||||
"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": []
|
||||
},
|
||||
{
|
||||
"name": "Idempotency-Key",
|
||||
"tool_parameter_name": "idempotency_key",
|
||||
"description": "This allows you to safely retry requests without the risk of duplicate processing. 128 character max.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "This allows you to safely retry requests without the risk of duplicate processing. 128 character max."
|
||||
},
|
||||
"accepted_as": "header",
|
||||
"required": false,
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,171 @@
|
|||
{
|
||||
"name": "CreatePaymentHistoryRecord",
|
||||
"fully_qualified_name": "XeroApi.CreatePaymentHistoryRecord@0.1.0",
|
||||
"description": "Create a history record for a specific payment.\n\nThis tool is used to create a history record for a particular payment in Xero. It should be called when you want to document the history or add notes for a payment by its PaymentID.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "payment_identifier",
|
||||
"required": true,
|
||||
"description": "Unique identifier for a specific payment in Xero.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a Payment"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "PaymentID"
|
||||
},
|
||||
{
|
||||
"name": "xero_tenant_id",
|
||||
"required": true,
|
||||
"description": "The unique identifier for the Xero tenant. This is required to specify which tenant's data the action applies to.",
|
||||
"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": "idempotency_key",
|
||||
"required": false,
|
||||
"description": "A unique key to safely retry requests and prevent duplicate processing. Maximum 128 characters.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "This allows you to safely retry requests without the risk of duplicate processing. 128 character max."
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "Idempotency-Key"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'createPaymentHistory'.",
|
||||
"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.transactions"
|
||||
]
|
||||
}
|
||||
},
|
||||
"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/Payments/{PaymentID}/History",
|
||||
"http_method": "PUT",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "PaymentID",
|
||||
"tool_parameter_name": "payment_identifier",
|
||||
"description": "Unique identifier for a Payment",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a Payment"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "xero_tenant_id",
|
||||
"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": []
|
||||
},
|
||||
{
|
||||
"name": "Idempotency-Key",
|
||||
"tool_parameter_name": "idempotency_key",
|
||||
"description": "This allows you to safely retry requests without the risk of duplicate processing. 128 character max.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "This allows you to safely retry requests without the risk of duplicate processing. 128 character max."
|
||||
},
|
||||
"accepted_as": "header",
|
||||
"required": false,
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,171 @@
|
|||
{
|
||||
"name": "CreatePrepaymentHistory",
|
||||
"fully_qualified_name": "XeroApi.CreatePrepaymentHistory@0.1.0",
|
||||
"description": "Creates a history record for a specific prepayment.\n\nCall this tool to create a history entry for a given prepayment in Xero, specifying the prepayment ID.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "prepayment_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for the specific PrePayment to create a history record for.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a PrePayment"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "PrepaymentID"
|
||||
},
|
||||
{
|
||||
"name": "xero_tenant_id",
|
||||
"required": true,
|
||||
"description": "Xero identifier for the Tenant. This is required to specify which tenant's data the prepayment history applies to.",
|
||||
"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": "idempotency_key",
|
||||
"required": false,
|
||||
"description": "A unique string to safely retry requests without duplicate processing, up to 128 characters.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "This allows you to safely retry requests without the risk of duplicate processing. 128 character max."
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "Idempotency-Key"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'createPrepaymentHistory'.",
|
||||
"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.transactions"
|
||||
]
|
||||
}
|
||||
},
|
||||
"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/Prepayments/{PrepaymentID}/History",
|
||||
"http_method": "PUT",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "PrepaymentID",
|
||||
"tool_parameter_name": "prepayment_id",
|
||||
"description": "Unique identifier for a PrePayment",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a PrePayment"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "xero_tenant_id",
|
||||
"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": []
|
||||
},
|
||||
{
|
||||
"name": "Idempotency-Key",
|
||||
"tool_parameter_name": "idempotency_key",
|
||||
"description": "This allows you to safely retry requests without the risk of duplicate processing. 128 character max.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "This allows you to safely retry requests without the risk of duplicate processing. 128 character max."
|
||||
},
|
||||
"accepted_as": "header",
|
||||
"required": false,
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,171 @@
|
|||
{
|
||||
"name": "CreatePurchaseOrderHistory",
|
||||
"fully_qualified_name": "XeroApi.CreatePurchaseOrderHistory@0.1.0",
|
||||
"description": "Create a history record for a purchase order.\n\nUse this tool to add a historical record to a specific purchase order when tracking changes or updates is necessary.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "purchase_order_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for a Purchase Order. Pass the specific ID for which a history record will be created.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for an Purchase Order"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "PurchaseOrderID"
|
||||
},
|
||||
{
|
||||
"name": "tenant_identifier",
|
||||
"required": true,
|
||||
"description": "The unique Xero identifier for the tenant. Required for API requests.",
|
||||
"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": "idempotency_key",
|
||||
"required": false,
|
||||
"description": "A unique key to safely retry requests without duplicate processing; 128 character max.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "This allows you to safely retry requests without the risk of duplicate processing. 128 character max."
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "Idempotency-Key"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'createPurchaseOrderHistory'.",
|
||||
"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.transactions"
|
||||
]
|
||||
}
|
||||
},
|
||||
"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/PurchaseOrders/{PurchaseOrderID}/History",
|
||||
"http_method": "PUT",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "PurchaseOrderID",
|
||||
"tool_parameter_name": "purchase_order_id",
|
||||
"description": "Unique identifier for an Purchase Order",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for an Purchase Order"
|
||||
},
|
||||
"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": []
|
||||
},
|
||||
{
|
||||
"name": "Idempotency-Key",
|
||||
"tool_parameter_name": "idempotency_key",
|
||||
"description": "This allows you to safely retry requests without the risk of duplicate processing. 128 character max.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "This allows you to safely retry requests without the risk of duplicate processing. 128 character max."
|
||||
},
|
||||
"accepted_as": "header",
|
||||
"required": false,
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,171 @@
|
|||
{
|
||||
"name": "CreateRepeatingInvoiceHistory",
|
||||
"fully_qualified_name": "XeroApi.CreateRepeatingInvoiceHistory@0.1.0",
|
||||
"description": "Creates a history record for a repeating invoice.\n\nUse this tool to create a history record for a specific repeating invoice in the Xero system. This is useful for maintaining a log of actions or updates associated with the invoice.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "repeating_invoice_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for a Repeating Invoice to create a history record.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a Repeating Invoice"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "RepeatingInvoiceID"
|
||||
},
|
||||
{
|
||||
"name": "tenant_identifier",
|
||||
"required": true,
|
||||
"description": "Xero identifier for the tenant, required for accessing specific tenant data.",
|
||||
"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": "idempotency_key",
|
||||
"required": false,
|
||||
"description": "A unique string, max 128 characters, to safely retry requests without duplication.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "This allows you to safely retry requests without the risk of duplicate processing. 128 character max."
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "Idempotency-Key"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'createRepeatingInvoiceHistory'.",
|
||||
"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.transactions"
|
||||
]
|
||||
}
|
||||
},
|
||||
"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/RepeatingInvoices/{RepeatingInvoiceID}/History",
|
||||
"http_method": "PUT",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "RepeatingInvoiceID",
|
||||
"tool_parameter_name": "repeating_invoice_id",
|
||||
"description": "Unique identifier for a Repeating Invoice",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a Repeating Invoice"
|
||||
},
|
||||
"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": []
|
||||
},
|
||||
{
|
||||
"name": "Idempotency-Key",
|
||||
"tool_parameter_name": "idempotency_key",
|
||||
"description": "This allows you to safely retry requests without the risk of duplicate processing. 128 character max.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "This allows you to safely retry requests without the risk of duplicate processing. 128 character max."
|
||||
},
|
||||
"accepted_as": "header",
|
||||
"required": false,
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,139 @@
|
|||
{
|
||||
"name": "DeleteAccount",
|
||||
"fully_qualified_name": "XeroApi.DeleteAccount@0.1.0",
|
||||
"description": "Delete a chart of accounts in Xero.\n\nUse this tool to delete a specified chart of accounts by providing the AccountID in Xero. This tool should be called when an account needs to be permanently removed.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "account_id",
|
||||
"required": true,
|
||||
"description": "The unique identifier for the Account object to be deleted.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for Account object"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "AccountID"
|
||||
},
|
||||
{
|
||||
"name": "xero_tenant_identifier",
|
||||
"required": true,
|
||||
"description": "Xero identifier for the Tenant. Required to specify which tenant's account to delete.",
|
||||
"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"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'deleteAccount'.",
|
||||
"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.settings"
|
||||
]
|
||||
}
|
||||
},
|
||||
"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/Accounts/{AccountID}",
|
||||
"http_method": "DELETE",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "AccountID",
|
||||
"tool_parameter_name": "account_id",
|
||||
"description": "Unique identifier for Account object",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for Account object"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "xero_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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,171 @@
|
|||
{
|
||||
"name": "DeleteCreditNoteAllocation",
|
||||
"fully_qualified_name": "XeroApi.DeleteCreditNoteAllocation@0.1.0",
|
||||
"description": "Remove an allocation from a specific credit note.\n\nThis tool is used to delete an allocation from a specified credit note in the Xero system. It should be called when you need to remove a particular allocation detail from an existing credit note.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "credit_note_unique_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for a specific credit note to delete the allocation from.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a Credit Note"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "CreditNoteID"
|
||||
},
|
||||
{
|
||||
"name": "allocation_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for the Allocation object needing deletion from a credit note.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for Allocation object"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "AllocationID"
|
||||
},
|
||||
{
|
||||
"name": "xero_tenant_id",
|
||||
"required": true,
|
||||
"description": "Unique Xero identifier for the Tenant. Required to specify which tenant's data is being accessed.",
|
||||
"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"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'deleteCreditNoteAllocations'.",
|
||||
"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.transactions"
|
||||
]
|
||||
}
|
||||
},
|
||||
"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/CreditNotes/{CreditNoteID}/Allocations/{AllocationID}",
|
||||
"http_method": "DELETE",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "CreditNoteID",
|
||||
"tool_parameter_name": "credit_note_unique_id",
|
||||
"description": "Unique identifier for a Credit Note",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a Credit Note"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "AllocationID",
|
||||
"tool_parameter_name": "allocation_id",
|
||||
"description": "Unique identifier for Allocation object",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for Allocation object"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "xero_tenant_id",
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,139 @@
|
|||
{
|
||||
"name": "DeleteInventoryItem",
|
||||
"fully_qualified_name": "XeroApi.DeleteInventoryItem@0.1.0",
|
||||
"description": "Delete a specific item from inventory.\n\nUse this tool to remove an item from the inventory based on its ItemID. Call this tool to manage inventory by deleting items that are no longer needed or available.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "item_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for the item to be deleted.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for an Item"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "ItemID"
|
||||
},
|
||||
{
|
||||
"name": "tenant_identifier",
|
||||
"required": true,
|
||||
"description": "The unique identifier for the Xero tenant to specify which tenant's data to access.",
|
||||
"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"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'deleteItem'.",
|
||||
"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.settings"
|
||||
]
|
||||
}
|
||||
},
|
||||
"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/Items/{ItemID}",
|
||||
"http_method": "DELETE",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "ItemID",
|
||||
"tool_parameter_name": "item_id",
|
||||
"description": "Unique identifier for an Item",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for an Item"
|
||||
},
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,139 @@
|
|||
{
|
||||
"name": "DeleteLinkedTransaction",
|
||||
"fully_qualified_name": "XeroApi.DeleteLinkedTransaction@0.1.0",
|
||||
"description": "Delete a specific linked transaction.\n\nUse this tool to delete a specified linked transaction (billable expense) by providing the LinkedTransactionID. It should be called when there's a need to remove an existing linked expense from Xero.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "linked_transaction_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for the linked transaction to be deleted.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a LinkedTransaction"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "LinkedTransactionID"
|
||||
},
|
||||
{
|
||||
"name": "xero_tenant_identifier",
|
||||
"required": true,
|
||||
"description": "Provide the unique Xero identifier for the tenant to specify the context of the deletion.",
|
||||
"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"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'deleteLinkedTransaction'.",
|
||||
"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.transactions"
|
||||
]
|
||||
}
|
||||
},
|
||||
"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/LinkedTransactions/{LinkedTransactionID}",
|
||||
"http_method": "DELETE",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "LinkedTransactionID",
|
||||
"tool_parameter_name": "linked_transaction_id",
|
||||
"description": "Unique identifier for a LinkedTransaction",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a LinkedTransaction"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "xero_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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,171 @@
|
|||
{
|
||||
"name": "DeleteOverpaymentAllocation",
|
||||
"fully_qualified_name": "XeroApi.DeleteOverpaymentAllocation@0.1.0",
|
||||
"description": "Delete an allocation from an overpayment in Xero.\n\nThis tool deletes a specific allocation from an overpayment in the Xero system. Use this when you need to remove allocations linked to overpayments.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "overpayment_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for a specific overpayment in Xero.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a Overpayment"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "OverpaymentID"
|
||||
},
|
||||
{
|
||||
"name": "allocation_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for the Allocation object to be deleted.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for Allocation object"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "AllocationID"
|
||||
},
|
||||
{
|
||||
"name": "xero_tenant_identifier",
|
||||
"required": true,
|
||||
"description": "Xero identifier for the tenant. Required to specify which tenant's data to access.",
|
||||
"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"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'deleteOverpaymentAllocations'.",
|
||||
"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.transactions"
|
||||
]
|
||||
}
|
||||
},
|
||||
"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/Overpayments/{OverpaymentID}/Allocations/{AllocationID}",
|
||||
"http_method": "DELETE",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "OverpaymentID",
|
||||
"tool_parameter_name": "overpayment_id",
|
||||
"description": "Unique identifier for a Overpayment",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a Overpayment"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "AllocationID",
|
||||
"tool_parameter_name": "allocation_id",
|
||||
"description": "Unique identifier for Allocation object",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for Allocation object"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "xero_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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,171 @@
|
|||
{
|
||||
"name": "DeletePrepaymentAllocation",
|
||||
"fully_qualified_name": "XeroApi.DeletePrepaymentAllocation@0.1.0",
|
||||
"description": "Delete an allocation from a prepayment in Xero.\n\nUse this tool to delete a specific allocation from a prepayment in Xero. This action is irreversible and should be used when a specific allocation needs to be removed.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "prepayment_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for a PrePayment. Required to specify which prepayment the allocation will be deleted from.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a PrePayment"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "PrepaymentID"
|
||||
},
|
||||
{
|
||||
"name": "allocation_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for the Allocation object to be deleted from a prepayment.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for Allocation object"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "AllocationID"
|
||||
},
|
||||
{
|
||||
"name": "xero_tenant_identifier",
|
||||
"required": true,
|
||||
"description": "Xero identifier for the tenant in which the prepayment allocation deletion will occur.",
|
||||
"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"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'deletePrepaymentAllocations'.",
|
||||
"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.transactions"
|
||||
]
|
||||
}
|
||||
},
|
||||
"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/Prepayments/{PrepaymentID}/Allocations/{AllocationID}",
|
||||
"http_method": "DELETE",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "PrepaymentID",
|
||||
"tool_parameter_name": "prepayment_id",
|
||||
"description": "Unique identifier for a PrePayment",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a PrePayment"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "AllocationID",
|
||||
"tool_parameter_name": "allocation_id",
|
||||
"description": "Unique identifier for Allocation object",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for Allocation object"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "xero_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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,101 @@
|
|||
{
|
||||
"name": "DeleteTenantConnection",
|
||||
"fully_qualified_name": "XeroIdentityApi.DeleteTenantConnection@0.1.0",
|
||||
"description": "Delete a specified Xero connection using its ID.\n\nThis tool is used to delete a connection from the Xero platform by specifying the connection ID. It should be called when a user wants to remove a particular connection from their Xero account.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "tenant_connection_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for the Xero connection to be deleted.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for retrieving single object"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "id"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'deleteConnection'.",
|
||||
"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": null
|
||||
},
|
||||
"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/Connections/{id}",
|
||||
"http_method": "DELETE",
|
||||
"headers": {},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "id",
|
||||
"tool_parameter_name": "tenant_connection_id",
|
||||
"description": "Unique identifier for retrieving single object",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for retrieving single object"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,171 @@
|
|||
{
|
||||
"name": "DeleteTrackingOption",
|
||||
"fully_qualified_name": "XeroApi.DeleteTrackingOption@0.1.0",
|
||||
"description": "Deletes a specific tracking category option in Xero.\n\nUse this tool to delete a specific tracking option from a selected tracking category in Xero. Useful for managing and updating your tracking categories when certain options are no longer needed.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "tracking_category_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for the tracking category to specify which category the option will be deleted from.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a TrackingCategory"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "TrackingCategoryID"
|
||||
},
|
||||
{
|
||||
"name": "tracking_option_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for a tracking option to be deleted in Xero.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a Tracking Option"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "TrackingOptionID"
|
||||
},
|
||||
{
|
||||
"name": "xero_tenant_id",
|
||||
"required": true,
|
||||
"description": "The unique identifier for a Xero tenant. This specifies which tenant's data will be affected.",
|
||||
"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"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'deleteTrackingOptions'.",
|
||||
"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.settings"
|
||||
]
|
||||
}
|
||||
},
|
||||
"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/TrackingCategories/{TrackingCategoryID}/Options/{TrackingOptionID}",
|
||||
"http_method": "DELETE",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "TrackingCategoryID",
|
||||
"tool_parameter_name": "tracking_category_id",
|
||||
"description": "Unique identifier for a TrackingCategory",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a TrackingCategory"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "TrackingOptionID",
|
||||
"tool_parameter_name": "tracking_option_id",
|
||||
"description": "Unique identifier for a Tracking Option",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a Tracking Option"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "xero_tenant_id",
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,396 @@
|
|||
{
|
||||
"name": "FetchAllXeroContacts",
|
||||
"fully_qualified_name": "XeroApi.FetchAllXeroContacts@0.1.0",
|
||||
"description": "Retrieve all contacts from a Xero organization.\n\nUse this tool to obtain a list of all contacts within a specified Xero organization. It should be called when there's a need to access or manage contact information in Xero.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "tenant_identifier",
|
||||
"required": true,
|
||||
"description": "A unique string to identify the tenant in Xero.",
|
||||
"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_by_element",
|
||||
"required": false,
|
||||
"description": "Specify conditions to filter contacts by any element within their data fields.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Filter by an any element"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "where"
|
||||
},
|
||||
{
|
||||
"name": "sort_order",
|
||||
"required": false,
|
||||
"description": "Specifies the sorting order for contacts based on a specified element, such as name or date.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Order by an any element"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "order"
|
||||
},
|
||||
{
|
||||
"name": "contact_ids",
|
||||
"required": false,
|
||||
"description": "Comma-separated list of ContactIDs to retrieve specific contacts. Use this to filter the contacts returned by their unique IDs in a single call.",
|
||||
"value_schema": {
|
||||
"val_type": "array",
|
||||
"inner_val_type": "string",
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Filter by a comma separated list of ContactIDs. Allows you to retrieve a specific set of contacts in a single call."
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "IDs"
|
||||
},
|
||||
{
|
||||
"name": "pagination_page_number",
|
||||
"required": false,
|
||||
"description": "The specific page number to retrieve when fetching contacts. Each page returns up to 100 contacts.",
|
||||
"value_schema": {
|
||||
"val_type": "integer",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "e.g. page=1 - Up to 100 contacts will be returned in a single API call."
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "page"
|
||||
},
|
||||
{
|
||||
"name": "search_term",
|
||||
"required": false,
|
||||
"description": "A case-insensitive search term for filtering contacts by Name, FirstName, LastName, ContactNumber, or EmailAddress.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Search parameter that performs a case-insensitive text search across the Name, FirstName, LastName, ContactNumber and EmailAddress fields."
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "searchTerm"
|
||||
},
|
||||
{
|
||||
"name": "records_per_page",
|
||||
"required": false,
|
||||
"description": "Number of contact records to retrieve per page.",
|
||||
"value_schema": {
|
||||
"val_type": "integer",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Number of records to retrieve per page"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "pageSize"
|
||||
},
|
||||
{
|
||||
"name": "modified_since_timestamp",
|
||||
"required": false,
|
||||
"description": "Retrieve only records created or modified after the specified timestamp. Use ISO 8601 format for the timestamp.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Only records created or modified since this timestamp will be returned"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "If-Modified-Since"
|
||||
},
|
||||
{
|
||||
"name": "include_archived_contacts",
|
||||
"required": false,
|
||||
"description": "Set to true to include contacts with a status of ARCHIVED in the response. False will exclude them.",
|
||||
"value_schema": {
|
||||
"val_type": "boolean",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "e.g. includeArchived=true - Contacts with a status of ARCHIVED will be included in the response"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "includeArchived"
|
||||
},
|
||||
{
|
||||
"name": "retrieve_summary_only_contacts",
|
||||
"required": false,
|
||||
"description": "Set to true to retrieve only lightweight contact fields, excluding computation-heavy data for faster API responses.",
|
||||
"value_schema": {
|
||||
"val_type": "boolean",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Use summaryOnly=true in GET Contacts and Invoices endpoint to retrieve a smaller version of the response object. This returns only lightweight fields, excluding computation-heavy fields from the response, making the API calls quick and efficient."
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "summaryOnly"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getContacts'.",
|
||||
"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.contacts.read",
|
||||
"accounting.contacts"
|
||||
]
|
||||
}
|
||||
},
|
||||
"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/Contacts",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "where",
|
||||
"tool_parameter_name": "filter_by_element",
|
||||
"description": "Filter by an any element",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Filter by an any element"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "order",
|
||||
"tool_parameter_name": "sort_order",
|
||||
"description": "Order by an any element",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Order by an any element"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "IDs",
|
||||
"tool_parameter_name": "contact_ids",
|
||||
"description": "Filter by a comma separated list of ContactIDs. Allows you to retrieve a specific set of contacts in a single call.",
|
||||
"value_schema": {
|
||||
"val_type": "array",
|
||||
"inner_val_type": "string",
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Filter by a comma separated list of ContactIDs. Allows you to retrieve a specific set of contacts in a single call."
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "page",
|
||||
"tool_parameter_name": "pagination_page_number",
|
||||
"description": "e.g. page=1 - Up to 100 contacts will be returned in a single API call.",
|
||||
"value_schema": {
|
||||
"val_type": "integer",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "e.g. page=1 - Up to 100 contacts will be returned in a single API call."
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "includeArchived",
|
||||
"tool_parameter_name": "include_archived_contacts",
|
||||
"description": "e.g. includeArchived=true - Contacts with a status of ARCHIVED will be included in the response",
|
||||
"value_schema": {
|
||||
"val_type": "boolean",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "e.g. includeArchived=true - Contacts with a status of ARCHIVED will be included in the response"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "summaryOnly",
|
||||
"tool_parameter_name": "retrieve_summary_only_contacts",
|
||||
"description": "Use summaryOnly=true in GET Contacts and Invoices endpoint to retrieve a smaller version of the response object. This returns only lightweight fields, excluding computation-heavy fields from the response, making the API calls quick and efficient.",
|
||||
"value_schema": {
|
||||
"val_type": "boolean",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Use summaryOnly=true in GET Contacts and Invoices endpoint to retrieve a smaller version of the response object. This returns only lightweight fields, excluding computation-heavy fields from the response, making the API calls quick and efficient."
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "searchTerm",
|
||||
"tool_parameter_name": "search_term",
|
||||
"description": "Search parameter that performs a case-insensitive text search across the Name, FirstName, LastName, ContactNumber and EmailAddress fields.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Search parameter that performs a case-insensitive text search across the Name, FirstName, LastName, ContactNumber and EmailAddress fields."
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "pageSize",
|
||||
"tool_parameter_name": "records_per_page",
|
||||
"description": "Number of records to retrieve per page",
|
||||
"value_schema": {
|
||||
"val_type": "integer",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Number of records to retrieve per page"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"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": []
|
||||
},
|
||||
{
|
||||
"name": "If-Modified-Since",
|
||||
"tool_parameter_name": "modified_since_timestamp",
|
||||
"description": "Only records created or modified since this timestamp will be returned",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Only records created or modified since this timestamp will be returned"
|
||||
},
|
||||
"accepted_as": "header",
|
||||
"required": false,
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,204 @@
|
|||
{
|
||||
"name": "FetchBankTransferAttachment",
|
||||
"fully_qualified_name": "XeroApi.FetchBankTransferAttachment@0.1.0",
|
||||
"description": "Fetch a specific bank transfer attachment by ID.\n\nUse this tool to retrieve a specific attachment related to a bank transfer using the unique attachment ID.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "bank_transfer_unique_id",
|
||||
"required": true,
|
||||
"description": "Xero-generated unique identifier for a bank transfer. It is required to locate the specific transfer for the attachment.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Xero generated unique identifier for a bank transfer"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "BankTransferID"
|
||||
},
|
||||
{
|
||||
"name": "attachment_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for the attachment object that you want to retrieve from a specific bank transfer.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for Attachment object"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "AttachmentID"
|
||||
},
|
||||
{
|
||||
"name": "tenant_identifier",
|
||||
"required": true,
|
||||
"description": "The Xero identifier for the tenant you want to access.",
|
||||
"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": "attachment_mime_type",
|
||||
"required": true,
|
||||
"description": "The MIME type of the attachment to retrieve, e.g., image/jpg, application/pdf.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "contentType"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getBankTransferAttachmentById'.",
|
||||
"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.attachments",
|
||||
"accounting.attachments.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/BankTransfers/{BankTransferID}/Attachments/{AttachmentID}",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "BankTransferID",
|
||||
"tool_parameter_name": "bank_transfer_unique_id",
|
||||
"description": "Xero generated unique identifier for a bank transfer",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Xero generated unique identifier for a bank transfer"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "AttachmentID",
|
||||
"tool_parameter_name": "attachment_id",
|
||||
"description": "Unique identifier for Attachment object",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for Attachment object"
|
||||
},
|
||||
"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": []
|
||||
},
|
||||
{
|
||||
"name": "contentType",
|
||||
"tool_parameter_name": "attachment_mime_type",
|
||||
"description": "The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf"
|
||||
},
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,171 @@
|
|||
{
|
||||
"name": "FetchCreditNoteHistory",
|
||||
"fully_qualified_name": "XeroApi.FetchCreditNoteHistory@0.1.0",
|
||||
"description": "Retrieve the history of a specific credit note.\n\nUse this tool to access and retrieve history records of a specific credit note by providing the CreditNoteID. This can be helpful for auditing or tracking changes made to a credit note over time.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "credit_note_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for the credit note whose history you want to retrieve.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a Credit Note"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "CreditNoteID"
|
||||
},
|
||||
{
|
||||
"name": "xero_tenant_id",
|
||||
"required": true,
|
||||
"description": "Xero identifier for the tenant. Required to specify which tenant's credit note history 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": "idempotency_key",
|
||||
"required": false,
|
||||
"description": "String to safely retry requests without creating duplicates. Max 128 characters.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "This allows you to safely retry requests without the risk of duplicate processing. 128 character max."
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "Idempotency-Key"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'createCreditNoteHistory'.",
|
||||
"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.transactions"
|
||||
]
|
||||
}
|
||||
},
|
||||
"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/CreditNotes/{CreditNoteID}/History",
|
||||
"http_method": "PUT",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "CreditNoteID",
|
||||
"tool_parameter_name": "credit_note_id",
|
||||
"description": "Unique identifier for a Credit Note",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a Credit Note"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "xero_tenant_id",
|
||||
"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": []
|
||||
},
|
||||
{
|
||||
"name": "Idempotency-Key",
|
||||
"tool_parameter_name": "idempotency_key",
|
||||
"description": "This allows you to safely retry requests without the risk of duplicate processing. 128 character max.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "This allows you to safely retry requests without the risk of duplicate processing. 128 character max."
|
||||
},
|
||||
"accepted_as": "header",
|
||||
"required": false,
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,268 @@
|
|||
{
|
||||
"name": "FetchInvoicePayments",
|
||||
"fully_qualified_name": "XeroApi.FetchInvoicePayments@0.1.0",
|
||||
"description": "Retrieve payments for invoices and credit notes in Xero.\n\nUse this tool to fetch a list of payments associated with invoices and credit notes from Xero. It is useful for obtaining payment records for financial analysis or reconciliation purposes.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "xero_tenant_identifier",
|
||||
"required": true,
|
||||
"description": "Xero identifier for the Tenant. This is required to access the specific tenant's data.",
|
||||
"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_condition",
|
||||
"required": false,
|
||||
"description": "Specify the filter condition for retrieving payments, based on any element.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Filter by an any element"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "where"
|
||||
},
|
||||
{
|
||||
"name": "order_by",
|
||||
"required": false,
|
||||
"description": "Specify the order of payments by any element, such as date or amount.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Order by an any element"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "order"
|
||||
},
|
||||
{
|
||||
"name": "page_number",
|
||||
"required": false,
|
||||
"description": "The page number to retrieve, starting from 1. Up to 100 payments are returned per page.",
|
||||
"value_schema": {
|
||||
"val_type": "integer",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Up to 100 payments will be returned in a single API call"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "page"
|
||||
},
|
||||
{
|
||||
"name": "records_per_page",
|
||||
"required": false,
|
||||
"description": "Specify the number of records to retrieve per page, up to a maximum of 100.",
|
||||
"value_schema": {
|
||||
"val_type": "integer",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Number of records to retrieve per page"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "pageSize"
|
||||
},
|
||||
{
|
||||
"name": "modified_since_timestamp",
|
||||
"required": false,
|
||||
"description": "Only records created or modified since this timestamp will be retrieved. Use ISO 8601 format (e.g., 'YYYY-MM-DDTHH:MM:SSZ').",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Only records created or modified since this timestamp will be returned"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "If-Modified-Since"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getPayments'.",
|
||||
"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.transactions.read",
|
||||
"accounting.transactions"
|
||||
]
|
||||
}
|
||||
},
|
||||
"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/Payments",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "where",
|
||||
"tool_parameter_name": "filter_condition",
|
||||
"description": "Filter by an any element",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Filter by an any element"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "order",
|
||||
"tool_parameter_name": "order_by",
|
||||
"description": "Order by an any element",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Order by an any element"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "page",
|
||||
"tool_parameter_name": "page_number",
|
||||
"description": "Up to 100 payments will be returned in a single API call",
|
||||
"value_schema": {
|
||||
"val_type": "integer",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Up to 100 payments will be returned in a single API call"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "pageSize",
|
||||
"tool_parameter_name": "records_per_page",
|
||||
"description": "Number of records to retrieve per page",
|
||||
"value_schema": {
|
||||
"val_type": "integer",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Number of records to retrieve per page"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "xero_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": []
|
||||
},
|
||||
{
|
||||
"name": "If-Modified-Since",
|
||||
"tool_parameter_name": "modified_since_timestamp",
|
||||
"description": "Only records created or modified since this timestamp will be returned",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Only records created or modified since this timestamp will be returned"
|
||||
},
|
||||
"accepted_as": "header",
|
||||
"required": false,
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,204 @@
|
|||
{
|
||||
"name": "FetchPurchaseOrderAttachment",
|
||||
"fully_qualified_name": "XeroApi.FetchPurchaseOrderAttachment@0.1.0",
|
||||
"description": "Retrieve a specific attachment from a purchase order.\n\nUse this tool to obtain a specific attachment from a purchase order using the attachment's unique ID within the Xero platform.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "purchase_order_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for a Purchase Order to retrieve a specific attachment.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for an Purchase Order"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "PurchaseOrderID"
|
||||
},
|
||||
{
|
||||
"name": "attachment_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for the attachment object to be retrieved.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for Attachment object"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "AttachmentID"
|
||||
},
|
||||
{
|
||||
"name": "xero_tenant_id",
|
||||
"required": true,
|
||||
"description": "Xero identifier for the Tenant. This is required to specify which organization the request is for.",
|
||||
"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": "attachment_mime_type",
|
||||
"required": true,
|
||||
"description": "The MIME type of the attachment file to retrieve, e.g., image/jpg, application/pdf.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "contentType"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getPurchaseOrderAttachmentById'.",
|
||||
"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.attachments",
|
||||
"accounting.attachments.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/PurchaseOrders/{PurchaseOrderID}/Attachments/{AttachmentID}",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "PurchaseOrderID",
|
||||
"tool_parameter_name": "purchase_order_id",
|
||||
"description": "Unique identifier for an Purchase Order",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for an Purchase Order"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "AttachmentID",
|
||||
"tool_parameter_name": "attachment_id",
|
||||
"description": "Unique identifier for Attachment object",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for Attachment object"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "xero_tenant_id",
|
||||
"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": []
|
||||
},
|
||||
{
|
||||
"name": "contentType",
|
||||
"tool_parameter_name": "attachment_mime_type",
|
||||
"description": "The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf"
|
||||
},
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,235 @@
|
|||
{
|
||||
"name": "GetAgedPayablesReportByContact",
|
||||
"fully_qualified_name": "XeroApi.GetAgedPayablesReportByContact@0.1.0",
|
||||
"description": "Retrieve aged payables report by contact.\n\nUse this tool to get a report on aged payables categorized by contact. It provides insights into outstanding payables over time.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "contact_identifier",
|
||||
"required": true,
|
||||
"description": "Unique identifier for the contact to retrieve the aged payables report.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a Contact"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "contactId"
|
||||
},
|
||||
{
|
||||
"name": "xero_tenant_identifier",
|
||||
"required": true,
|
||||
"description": "Xero identifier for the Tenant. Required to specify which tenant's data is being accessed.",
|
||||
"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": "report_date",
|
||||
"required": false,
|
||||
"description": "The specific date for the Aged Payables By Contact report in YYYY-MM-DD format.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The date of the Aged Payables By Contact report"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "date"
|
||||
},
|
||||
{
|
||||
"name": "report_from_date",
|
||||
"required": false,
|
||||
"description": "Specify the start date for filtering the report, in YYYY-MM-DD format (e.g. 2021-02-01).",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "filter by the from date of the report e.g. 2021-02-01"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "fromDate"
|
||||
},
|
||||
{
|
||||
"name": "report_end_date",
|
||||
"required": false,
|
||||
"description": "Filter the report by specifying the end date, formatted as YYYY-MM-DD (e.g., 2021-02-28).",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "filter by the to date of the report e.g. 2021-02-28"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "toDate"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getReportAgedPayablesByContact'.",
|
||||
"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.reports.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/Reports/AgedPayablesByContact",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "contactId",
|
||||
"tool_parameter_name": "contact_identifier",
|
||||
"description": "Unique identifier for a Contact",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a Contact"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "date",
|
||||
"tool_parameter_name": "report_date",
|
||||
"description": "The date of the Aged Payables By Contact report",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The date of the Aged Payables By Contact report"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "fromDate",
|
||||
"tool_parameter_name": "report_from_date",
|
||||
"description": "filter by the from date of the report e.g. 2021-02-01",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "filter by the from date of the report e.g. 2021-02-01"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "toDate",
|
||||
"tool_parameter_name": "report_end_date",
|
||||
"description": "filter by the to date of the report e.g. 2021-02-28",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "filter by the to date of the report e.g. 2021-02-28"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "xero_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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,235 @@
|
|||
{
|
||||
"name": "GetAgedReceivablesReportByContact",
|
||||
"fully_qualified_name": "XeroApi.GetAgedReceivablesReportByContact@0.1.0",
|
||||
"description": "Retrieve aged receivables report by contact.\n\nUse this tool to get a detailed report of aged receivables, organized by contact, which helps in assessing outstanding debts for each contact.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "contact_identifier",
|
||||
"required": true,
|
||||
"description": "Unique identifier for a Contact to retrieve their aged receivables report.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a Contact"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "contactId"
|
||||
},
|
||||
{
|
||||
"name": "tenant_identifier",
|
||||
"required": true,
|
||||
"description": "Unique Xero identifier for the Tenant. Required to specify which tenant's data 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": "report_date",
|
||||
"required": false,
|
||||
"description": "The specific date for which the aged receivables report by contact is generated.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The date of the Aged Receivables By Contact report"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "date"
|
||||
},
|
||||
{
|
||||
"name": "start_date_filter",
|
||||
"required": false,
|
||||
"description": "Filter the report starting from this date (YYYY-MM-DD).",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "filter by the from date of the report e.g. 2021-02-01"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "fromDate"
|
||||
},
|
||||
{
|
||||
"name": "filter_by_to_date",
|
||||
"required": false,
|
||||
"description": "Specify the end date for filtering the aged receivables report, e.g., '2021-02-28'.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "filter by the to date of the report e.g. 2021-02-28"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "toDate"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getReportAgedReceivablesByContact'.",
|
||||
"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.reports.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/Reports/AgedReceivablesByContact",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "contactId",
|
||||
"tool_parameter_name": "contact_identifier",
|
||||
"description": "Unique identifier for a Contact",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a Contact"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "date",
|
||||
"tool_parameter_name": "report_date",
|
||||
"description": "The date of the Aged Receivables By Contact report",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The date of the Aged Receivables By Contact report"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "fromDate",
|
||||
"tool_parameter_name": "start_date_filter",
|
||||
"description": "filter by the from date of the report e.g. 2021-02-01",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "filter by the from date of the report e.g. 2021-02-01"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "toDate",
|
||||
"tool_parameter_name": "filter_by_to_date",
|
||||
"description": "filter by the to date of the report e.g. 2021-02-28",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "filter by the to date of the report e.g. 2021-02-28"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,339 @@
|
|||
{
|
||||
"name": "GetBalanceSheetReport",
|
||||
"fully_qualified_name": "XeroApi.GetBalanceSheetReport@0.1.0",
|
||||
"description": "Retrieve the balance sheet report from Xero.\n\nFetches the balance sheet report, detailing financial positions. Useful for obtaining up-to-date financial summaries.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "xero_tenant_identifier",
|
||||
"required": true,
|
||||
"description": "Xero identifier for the Tenant. Used to specify which organization's data to retrieve in Xero.",
|
||||
"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": "report_date",
|
||||
"required": false,
|
||||
"description": "The specific date for which to retrieve the Balance Sheet report. Format as YYYY-MM-DD.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The date of the Balance Sheet report"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "date"
|
||||
},
|
||||
{
|
||||
"name": "number_of_periods",
|
||||
"required": false,
|
||||
"description": "The number of periods to include in the Balance Sheet report.",
|
||||
"value_schema": {
|
||||
"val_type": "integer",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The number of periods for the Balance Sheet report"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "periods"
|
||||
},
|
||||
{
|
||||
"name": "comparison_timeframe",
|
||||
"required": false,
|
||||
"description": "The period size for comparison, e.g., MONTH, QUARTER, or YEAR.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": [
|
||||
"MONTH",
|
||||
"QUARTER",
|
||||
"YEAR"
|
||||
],
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The period size to compare to (MONTH, QUARTER, YEAR)"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "timeframe"
|
||||
},
|
||||
{
|
||||
"name": "balance_sheet_tracking_option_id_1",
|
||||
"required": false,
|
||||
"description": "The first tracking option ID for generating the Balance Sheet report in Xero.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The tracking option 1 for the Balance Sheet report"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "trackingOptionID1"
|
||||
},
|
||||
{
|
||||
"name": "tracking_option_id_2",
|
||||
"required": false,
|
||||
"description": "The tracking option ID for secondary categorization in the Balance Sheet report. This allows for filtering or segmentation based on a second tracking category within Xero.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The tracking option 2 for the Balance Sheet report"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "trackingOptionID2"
|
||||
},
|
||||
{
|
||||
"name": "use_standard_layout",
|
||||
"required": false,
|
||||
"description": "Set to true to use the standard layout for the Balance Sheet report in Xero.",
|
||||
"value_schema": {
|
||||
"val_type": "boolean",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The standard layout boolean for the Balance Sheet report"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "standardLayout"
|
||||
},
|
||||
{
|
||||
"name": "return_cash_basis",
|
||||
"required": false,
|
||||
"description": "Set to True to return the Balance Sheet report using a cash basis.",
|
||||
"value_schema": {
|
||||
"val_type": "boolean",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "return a cash basis for the Balance Sheet report"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "paymentsOnly"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getReportBalanceSheet'.",
|
||||
"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.reports.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/Reports/BalanceSheet",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "date",
|
||||
"tool_parameter_name": "report_date",
|
||||
"description": "The date of the Balance Sheet report",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The date of the Balance Sheet report"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "periods",
|
||||
"tool_parameter_name": "number_of_periods",
|
||||
"description": "The number of periods for the Balance Sheet report",
|
||||
"value_schema": {
|
||||
"val_type": "integer",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The number of periods for the Balance Sheet report"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "timeframe",
|
||||
"tool_parameter_name": "comparison_timeframe",
|
||||
"description": "The period size to compare to (MONTH, QUARTER, YEAR)",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": [
|
||||
"MONTH",
|
||||
"QUARTER",
|
||||
"YEAR"
|
||||
],
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The period size to compare to (MONTH, QUARTER, YEAR)"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "trackingOptionID1",
|
||||
"tool_parameter_name": "balance_sheet_tracking_option_id_1",
|
||||
"description": "The tracking option 1 for the Balance Sheet report",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The tracking option 1 for the Balance Sheet report"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "trackingOptionID2",
|
||||
"tool_parameter_name": "tracking_option_id_2",
|
||||
"description": "The tracking option 2 for the Balance Sheet report",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The tracking option 2 for the Balance Sheet report"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "standardLayout",
|
||||
"tool_parameter_name": "use_standard_layout",
|
||||
"description": "The standard layout boolean for the Balance Sheet report",
|
||||
"value_schema": {
|
||||
"val_type": "boolean",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The standard layout boolean for the Balance Sheet report"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "paymentsOnly",
|
||||
"tool_parameter_name": "return_cash_basis",
|
||||
"description": "return a cash basis for the Balance Sheet report",
|
||||
"value_schema": {
|
||||
"val_type": "boolean",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "return a cash basis for the Balance Sheet report"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "xero_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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,171 @@
|
|||
{
|
||||
"name": "GetBankSummaryReport",
|
||||
"fully_qualified_name": "XeroApi.GetBankSummaryReport@0.1.0",
|
||||
"description": "Retrieve bank summary reports from Xero.\n\nThis tool fetches a bank summary report, providing a detailed overview of bank transactions and balances. Use it when you need to review financial summaries from Xero.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "xero_tenant_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for the Xero tenant. Required for accessing the relevant account data.",
|
||||
"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": "start_date_filter",
|
||||
"required": false,
|
||||
"description": "Filter the report by the starting date, formatted as YYYY-MM-DD. For example, 2021-02-01.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "filter by the from date of the report e.g. 2021-02-01"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "fromDate"
|
||||
},
|
||||
{
|
||||
"name": "end_date_filter",
|
||||
"required": false,
|
||||
"description": "Filter the report by the end date, formatted as YYYY-MM-DD, e.g., 2021-02-28.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "filter by the to date of the report e.g. 2021-02-28"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "toDate"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getReportBankSummary'.",
|
||||
"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.reports.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/Reports/BankSummary",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "fromDate",
|
||||
"tool_parameter_name": "start_date_filter",
|
||||
"description": "filter by the from date of the report e.g. 2021-02-01",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "filter by the from date of the report e.g. 2021-02-01"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "toDate",
|
||||
"tool_parameter_name": "end_date_filter",
|
||||
"description": "filter by the to date of the report e.g. 2021-02-28",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "filter by the to date of the report e.g. 2021-02-28"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "xero_tenant_id",
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,204 @@
|
|||
{
|
||||
"name": "GetBankTransactionAttachment",
|
||||
"fully_qualified_name": "XeroApi.GetBankTransactionAttachment@0.1.0",
|
||||
"description": "Retrieve an attachment from a bank transaction by filename.\n\nUse this tool to get a specific attachment from a bank transaction using the filename. Ideal for cases where attachments need to be reviewed or downloaded based on their association with bank transactions.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "bank_transaction_id",
|
||||
"required": true,
|
||||
"description": "Xero generated unique identifier for a bank transaction. Required to retrieve the correct attachment.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Xero generated unique identifier for a bank transaction"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "BankTransactionID"
|
||||
},
|
||||
{
|
||||
"name": "attachment_filename",
|
||||
"required": true,
|
||||
"description": "Name of the attachment to retrieve from the bank transaction.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Name of the attachment"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "FileName"
|
||||
},
|
||||
{
|
||||
"name": "xero_tenant_identifier",
|
||||
"required": true,
|
||||
"description": "The unique identifier for the Xero tenant associated with the bank transaction.",
|
||||
"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": "attachment_mime_type",
|
||||
"required": true,
|
||||
"description": "The MIME type of the attachment file to retrieve, such as image/jpg or application/pdf.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "contentType"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getBankTransactionAttachmentByFileName'.",
|
||||
"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.attachments",
|
||||
"accounting.attachments.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/BankTransactions/{BankTransactionID}/Attachments/{FileName}",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "BankTransactionID",
|
||||
"tool_parameter_name": "bank_transaction_id",
|
||||
"description": "Xero generated unique identifier for a bank transaction",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Xero generated unique identifier for a bank transaction"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "FileName",
|
||||
"tool_parameter_name": "attachment_filename",
|
||||
"description": "Name of the attachment",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Name of the attachment"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "xero_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": []
|
||||
},
|
||||
{
|
||||
"name": "contentType",
|
||||
"tool_parameter_name": "attachment_mime_type",
|
||||
"description": "The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf"
|
||||
},
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,140 @@
|
|||
{
|
||||
"name": "GetBankTransactionHistory",
|
||||
"fully_qualified_name": "XeroApi.GetBankTransactionHistory@0.1.0",
|
||||
"description": "Retrieve history of a specific bank transaction by ID.\n\nThis tool fetches the historical details of a particular bank transaction using its unique ID. It should be called when users need to view past records or changes related to a specific transaction.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "bank_transaction_id",
|
||||
"required": true,
|
||||
"description": "The unique identifier for a bank transaction generated by Xero. Use this ID to retrieve specific transaction history.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Xero generated unique identifier for a bank transaction"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "BankTransactionID"
|
||||
},
|
||||
{
|
||||
"name": "tenant_identifier",
|
||||
"required": true,
|
||||
"description": "Xero unique identifier for the tenant. Required to access tenant-specific data.",
|
||||
"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"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getBankTransactionsHistory'.",
|
||||
"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.transactions.read",
|
||||
"accounting.transactions"
|
||||
]
|
||||
}
|
||||
},
|
||||
"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/BankTransactions/{BankTransactionID}/History",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "BankTransactionID",
|
||||
"tool_parameter_name": "bank_transaction_id",
|
||||
"description": "Xero generated unique identifier for a bank transaction",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Xero generated unique identifier for a bank transaction"
|
||||
},
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,140 @@
|
|||
{
|
||||
"name": "GetBankTransferHistory",
|
||||
"fully_qualified_name": "XeroApi.GetBankTransferHistory@0.1.0",
|
||||
"description": "Retrieve specific bank transfer history by ID.\n\nThis tool is used to get the history of a specific bank transfer using its unique ID. It should be called when detailed transaction records or changes related to a particular bank transfer are needed.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "bank_transfer_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for the Xero bank transfer needed to retrieve its history.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Xero generated unique identifier for a bank transfer"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "BankTransferID"
|
||||
},
|
||||
{
|
||||
"name": "tenant_identifier",
|
||||
"required": true,
|
||||
"description": "Xero identifier for the tenant. Required to specify which tenant's bank transfer history 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"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getBankTransferHistory'.",
|
||||
"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.transactions.read",
|
||||
"accounting.transactions"
|
||||
]
|
||||
}
|
||||
},
|
||||
"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/BankTransfers/{BankTransferID}/History",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "BankTransferID",
|
||||
"tool_parameter_name": "bank_transfer_id",
|
||||
"description": "Xero generated unique identifier for a bank transfer",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Xero generated unique identifier for a bank transfer"
|
||||
},
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,140 @@
|
|||
{
|
||||
"name": "GetBatchPaymentDetails",
|
||||
"fully_qualified_name": "XeroApi.GetBatchPaymentDetails@0.1.0",
|
||||
"description": "Retrieve details of a specific batch payment by ID.\n\nUse this tool to get information about a specific batch payment by providing its unique ID.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "batch_payment_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for the batch payment to retrieve details.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for BatchPayment"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "BatchPaymentID"
|
||||
},
|
||||
{
|
||||
"name": "xero_tenant_id",
|
||||
"required": true,
|
||||
"description": "The unique Xero identifier for the tenant, necessary for accessing tenant-specific data.",
|
||||
"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"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getBatchPayment'.",
|
||||
"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.transactions.read",
|
||||
"accounting.transactions"
|
||||
]
|
||||
}
|
||||
},
|
||||
"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/BatchPayments/{BatchPaymentID}",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "BatchPaymentID",
|
||||
"tool_parameter_name": "batch_payment_id",
|
||||
"description": "Unique identifier for BatchPayment",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for BatchPayment"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "xero_tenant_id",
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,108 @@
|
|||
{
|
||||
"name": "GetBrandingThemes",
|
||||
"fully_qualified_name": "XeroApi.GetBrandingThemes@0.1.0",
|
||||
"description": "Retrieve all branding themes from Xero.\n\nThis tool calls the Xero API to fetch all available branding themes. It should be used when needing a comprehensive list of branding themes for the account.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "xero_tenant_id",
|
||||
"required": true,
|
||||
"description": "The unique identifier for the Xero tenant to retrieve branding themes.",
|
||||
"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"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getBrandingThemes'.",
|
||||
"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.settings",
|
||||
"accounting.settings.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/BrandingThemes",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "xero_tenant_id",
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,203 @@
|
|||
{
|
||||
"name": "GetBudgetSummaryReport",
|
||||
"fully_qualified_name": "XeroApi.GetBudgetSummaryReport@0.1.0",
|
||||
"description": "Retrieves the budget summary report from Xero.\n\nThis tool calls the Xero endpoint to obtain a detailed budget summary report. Use this when a financial summary of budget allocations is required.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "xero_tenant_identifier",
|
||||
"required": true,
|
||||
"description": "The unique Xero identifier for the tenant, required for authentication and data retrieval.",
|
||||
"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": "report_date",
|
||||
"required": false,
|
||||
"description": "The specific date for the budget summary report in YYYY-MM-DD format, e.g., 2018-03-31.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The date for the Bank Summary report e.g. 2018-03-31"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "date"
|
||||
},
|
||||
{
|
||||
"name": "number_of_periods_to_compare",
|
||||
"required": false,
|
||||
"description": "The number of periods for comparison, must be an integer between 1 and 12.",
|
||||
"value_schema": {
|
||||
"val_type": "integer",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The number of periods to compare (integer between 1 and 12)"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "periods"
|
||||
},
|
||||
{
|
||||
"name": "comparison_timeframe",
|
||||
"required": false,
|
||||
"description": "Specify the period size for comparison: 1 for month, 3 for quarter, or 12 for year.",
|
||||
"value_schema": {
|
||||
"val_type": "integer",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The period size to compare to (1=month, 3=quarter, 12=year)"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "timeframe"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getReportBudgetSummary'.",
|
||||
"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.reports.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/Reports/BudgetSummary",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "date",
|
||||
"tool_parameter_name": "report_date",
|
||||
"description": "The date for the Bank Summary report e.g. 2018-03-31",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The date for the Bank Summary report e.g. 2018-03-31"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "periods",
|
||||
"tool_parameter_name": "number_of_periods_to_compare",
|
||||
"description": "The number of periods to compare (integer between 1 and 12)",
|
||||
"value_schema": {
|
||||
"val_type": "integer",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The number of periods to compare (integer between 1 and 12)"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "timeframe",
|
||||
"tool_parameter_name": "comparison_timeframe",
|
||||
"description": "The period size to compare to (1=month, 3=quarter, 12=year)",
|
||||
"value_schema": {
|
||||
"val_type": "integer",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The period size to compare to (1=month, 3=quarter, 12=year)"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "xero_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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,140 @@
|
|||
{
|
||||
"name": "GetCisSettings",
|
||||
"fully_qualified_name": "XeroApi.GetCisSettings@0.1.0",
|
||||
"description": "Retrieve CIS settings for a Xero organisation.\n\nUse this tool to get the Construction Industry Scheme (CIS) settings for a specific organisation in Xero. Useful for managing or reviewing CIS compliance within the organisation.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "organisation_id",
|
||||
"required": true,
|
||||
"description": "The unique Xero identifier for the organisation to retrieve CIS settings for.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The unique Xero identifier for an organisation"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "OrganisationID"
|
||||
},
|
||||
{
|
||||
"name": "xero_tenant_identifier",
|
||||
"required": true,
|
||||
"description": "Xero identifier for the Tenant. Required to specify which tenant's CIS settings 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"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getOrganisationCISSettings'.",
|
||||
"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.settings",
|
||||
"accounting.settings.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/Organisation/{OrganisationID}/CISSettings",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "OrganisationID",
|
||||
"tool_parameter_name": "organisation_id",
|
||||
"description": "The unique Xero identifier for an organisation",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The unique Xero identifier for an organisation"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "xero_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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,105 @@
|
|||
{
|
||||
"name": "GetConnectedTenants",
|
||||
"fully_qualified_name": "XeroIdentityApi.GetConnectedTenants@0.1.0",
|
||||
"description": "Fetch active Tenants connections from Xero organization.\n\nUse this tool to retrieve a list of active connections associated with your Xero organization. It should be called when verifying or reviewing the connections currently established with Xero.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "filter_auth_event_id",
|
||||
"required": false,
|
||||
"description": "A string used to filter the results by a specific authEventId, narrowing down the connections returned.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Filter by authEventId"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "authEventId"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getConnections'.",
|
||||
"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.settings.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/Connections",
|
||||
"http_method": "GET",
|
||||
"headers": {},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "authEventId",
|
||||
"tool_parameter_name": "filter_auth_event_id",
|
||||
"description": "Filter by authEventId",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Filter by authEventId"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,204 @@
|
|||
{
|
||||
"name": "GetContactAttachment",
|
||||
"fully_qualified_name": "XeroApi.GetContactAttachment@0.1.0",
|
||||
"description": "Retrieve a contact's attachment by file name.\n\nFetches a specific attachment associated with a contact using the file name in Xero. Use when you need to access a particular contact's attachment.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "contact_identifier",
|
||||
"required": true,
|
||||
"description": "Unique identifier for a contact in Xero to retrieve its specific attachment.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a Contact"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "ContactID"
|
||||
},
|
||||
{
|
||||
"name": "attachment_file_name",
|
||||
"required": true,
|
||||
"description": "Specify the name of the attachment to retrieve from the contact.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Name of the attachment"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "FileName"
|
||||
},
|
||||
{
|
||||
"name": "xero_tenant_identifier",
|
||||
"required": true,
|
||||
"description": "Xero identifier for the Tenant. This is required to specify which tenant's data should be accessed.",
|
||||
"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": "attachment_mime_type",
|
||||
"required": true,
|
||||
"description": "The MIME type of the attachment file, such as image/jpg or application/pdf.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "contentType"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getContactAttachmentByFileName'.",
|
||||
"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.attachments",
|
||||
"accounting.attachments.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/Contacts/{ContactID}/Attachments/{FileName}",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "ContactID",
|
||||
"tool_parameter_name": "contact_identifier",
|
||||
"description": "Unique identifier for a Contact",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a Contact"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "FileName",
|
||||
"tool_parameter_name": "attachment_file_name",
|
||||
"description": "Name of the attachment",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Name of the attachment"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "xero_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": []
|
||||
},
|
||||
{
|
||||
"name": "contentType",
|
||||
"tool_parameter_name": "attachment_mime_type",
|
||||
"description": "The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf"
|
||||
},
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,140 @@
|
|||
{
|
||||
"name": "GetContactAttachments",
|
||||
"fully_qualified_name": "XeroApi.GetContactAttachments@0.1.0",
|
||||
"description": "Retrieve attachments for a Xero contact.\n\nThis tool retrieves all attachments associated with a specific contact within a Xero organisation. Call this tool when you need to access files linked to a contact in Xero.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "contact_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for a contact in Xero.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a Contact"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "ContactID"
|
||||
},
|
||||
{
|
||||
"name": "xero_tenant_identifier",
|
||||
"required": true,
|
||||
"description": "The unique Xero tenant identifier for the organisation.",
|
||||
"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"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getContactAttachments'.",
|
||||
"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.attachments",
|
||||
"accounting.attachments.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/Contacts/{ContactID}/Attachments",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "ContactID",
|
||||
"tool_parameter_name": "contact_id",
|
||||
"description": "Unique identifier for a Contact",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a Contact"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "xero_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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,140 @@
|
|||
{
|
||||
"name": "GetContactCisSettings",
|
||||
"fully_qualified_name": "XeroApi.GetContactCisSettings@0.1.0",
|
||||
"description": "Retrieve CIS settings for a Xero contact.\n\nUse this tool to obtain the CIS (Construction Industry Scheme) settings for a specific contact within a Xero organization. This is useful for businesses managing construction-related compliance and financial data.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "contact_identifier",
|
||||
"required": true,
|
||||
"description": "Unique identifier for a specific contact in Xero.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a Contact"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "ContactID"
|
||||
},
|
||||
{
|
||||
"name": "tenant_identifier",
|
||||
"required": true,
|
||||
"description": "Xero identifier for the tenant. Required for accessing the correct organization within Xero.",
|
||||
"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"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getContactCISSettings'.",
|
||||
"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.settings",
|
||||
"accounting.settings.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/Contacts/{ContactID}/CISSettings",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "ContactID",
|
||||
"tool_parameter_name": "contact_identifier",
|
||||
"description": "Unique identifier for a Contact",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a Contact"
|
||||
},
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,140 @@
|
|||
{
|
||||
"name": "GetContactHistory",
|
||||
"fully_qualified_name": "XeroApi.GetContactHistory@0.1.0",
|
||||
"description": "Retrieve history records for a specific contact.\n\nUse this tool to obtain historical interaction records for a specific contact, which can provide insights into past communications and actions.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "contact_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for a contact to retrieve their history records.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a Contact"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "ContactID"
|
||||
},
|
||||
{
|
||||
"name": "tenant_identifier",
|
||||
"required": true,
|
||||
"description": "The unique Xero identifier for the tenant. Required to access specific tenant data.",
|
||||
"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"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getContactHistory'.",
|
||||
"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.contacts.read",
|
||||
"accounting.contacts"
|
||||
]
|
||||
}
|
||||
},
|
||||
"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/Contacts/{ContactID}/History",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "ContactID",
|
||||
"tool_parameter_name": "contact_id",
|
||||
"description": "Unique identifier for a Contact",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a Contact"
|
||||
},
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,204 @@
|
|||
{
|
||||
"name": "GetCreditNoteAttachment",
|
||||
"fully_qualified_name": "XeroApi.GetCreditNoteAttachment@0.1.0",
|
||||
"description": "Retrieve specific attachment from a credit note by ID.\n\nUse this tool to get an attachment from a credit note using the unique attachment ID.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "credit_note_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for the credit note you want to retrieve an attachment from.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a Credit Note"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "CreditNoteID"
|
||||
},
|
||||
{
|
||||
"name": "attachment_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for the attachment object to be retrieved.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for Attachment object"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "AttachmentID"
|
||||
},
|
||||
{
|
||||
"name": "xero_tenant_identifier",
|
||||
"required": true,
|
||||
"description": "Xero identifier for the Tenant. It's required to specify which organization to access.",
|
||||
"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": "attachment_mime_type",
|
||||
"required": true,
|
||||
"description": "The MIME type of the attachment file to retrieve, such as image/jpg or application/pdf.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "contentType"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getCreditNoteAttachmentById'.",
|
||||
"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.attachments",
|
||||
"accounting.attachments.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/CreditNotes/{CreditNoteID}/Attachments/{AttachmentID}",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "CreditNoteID",
|
||||
"tool_parameter_name": "credit_note_id",
|
||||
"description": "Unique identifier for a Credit Note",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a Credit Note"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "AttachmentID",
|
||||
"tool_parameter_name": "attachment_id",
|
||||
"description": "Unique identifier for Attachment object",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for Attachment object"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "xero_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": []
|
||||
},
|
||||
{
|
||||
"name": "contentType",
|
||||
"tool_parameter_name": "attachment_mime_type",
|
||||
"description": "The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf"
|
||||
},
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,140 @@
|
|||
{
|
||||
"name": "GetCreditNoteAttachments",
|
||||
"fully_qualified_name": "XeroApi.GetCreditNoteAttachments@0.1.0",
|
||||
"description": "Fetch attachments for a specific credit note from Xero.\n\nUse this tool to retrieve attachments associated with a specific credit note in Xero. Call this tool when you need details or files attached to a credit note.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "credit_note_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for a specific Credit Note in Xero to fetch attachments.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a Credit Note"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "CreditNoteID"
|
||||
},
|
||||
{
|
||||
"name": "tenant_identifier",
|
||||
"required": true,
|
||||
"description": "Xero identifier for the tenant. Required to specify which tenant's data to access.",
|
||||
"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"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getCreditNoteAttachments'.",
|
||||
"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.attachments",
|
||||
"accounting.attachments.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/CreditNotes/{CreditNoteID}/Attachments",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "CreditNoteID",
|
||||
"tool_parameter_name": "credit_note_id",
|
||||
"description": "Unique identifier for a Credit Note",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a Credit Note"
|
||||
},
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,140 @@
|
|||
{
|
||||
"name": "GetCreditNoteHistory",
|
||||
"fully_qualified_name": "XeroApi.GetCreditNoteHistory@0.1.0",
|
||||
"description": "Retrieve history records of a specific credit note.\n\nUse this tool to obtain detailed history records for a specific credit note by providing its ID. It helps in tracking changes and updates made to the credit note over time.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "credit_note_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for a specific credit note. Required to retrieve its history records.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a Credit Note"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "CreditNoteID"
|
||||
},
|
||||
{
|
||||
"name": "xero_tenant_id",
|
||||
"required": true,
|
||||
"description": "The unique identifier for a Xero tenant. Required to access tenant-specific data.",
|
||||
"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"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getCreditNoteHistory'.",
|
||||
"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.transactions.read",
|
||||
"accounting.transactions"
|
||||
]
|
||||
}
|
||||
},
|
||||
"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/CreditNotes/{CreditNoteID}/History",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "CreditNoteID",
|
||||
"tool_parameter_name": "credit_note_id",
|
||||
"description": "Unique identifier for a Credit Note",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a Credit Note"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "xero_tenant_id",
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,140 @@
|
|||
{
|
||||
"name": "GetCreditNotePdf",
|
||||
"fully_qualified_name": "XeroApi.GetCreditNotePdf@0.1.0",
|
||||
"description": "Retrieve a credit note as a PDF file.\n\nUse this tool to fetch a specific credit note in PDF format using its ID.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "credit_note_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for the credit note to retrieve as a PDF.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a Credit Note"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "CreditNoteID"
|
||||
},
|
||||
{
|
||||
"name": "tenant_identifier",
|
||||
"required": true,
|
||||
"description": "Xero identifier for the tenant to retrieve the specific credit note PDF.",
|
||||
"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"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getCreditNoteAsPdf'.",
|
||||
"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.transactions.read",
|
||||
"accounting.transactions"
|
||||
]
|
||||
}
|
||||
},
|
||||
"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/CreditNotes/{CreditNoteID}/pdf",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "CreditNoteID",
|
||||
"tool_parameter_name": "credit_note_id",
|
||||
"description": "Unique identifier for a Credit Note",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a Credit Note"
|
||||
},
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,300 @@
|
|||
{
|
||||
"name": "GetCreditNotes",
|
||||
"fully_qualified_name": "XeroApi.GetCreditNotes@0.1.0",
|
||||
"description": "Retrieve credit notes from the Xero service.\n\nUse this tool to obtain credit notes from Xero. Ideal for financial checks or reconciliations requiring credit note information.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "tenant_identifier",
|
||||
"required": true,
|
||||
"description": "The unique identifier for the Xero tenant. Required to specify which tenant's credit notes 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_by_element",
|
||||
"required": false,
|
||||
"description": "A string to filter credit notes by specific criteria using any element.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Filter by an any element"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "where"
|
||||
},
|
||||
{
|
||||
"name": "sort_credit_notes",
|
||||
"required": false,
|
||||
"description": "Specifies the order to retrieve credit notes, e.g., by date or amount.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Order by an any element"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "order"
|
||||
},
|
||||
{
|
||||
"name": "page_number",
|
||||
"required": false,
|
||||
"description": "The page number to retrieve. Each page returns up to 100 credit notes with line items.",
|
||||
"value_schema": {
|
||||
"val_type": "integer",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "e.g. page=1 \u2013 Up to 100 credit notes will be returned in a single API call with line items shown for each credit note"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "page"
|
||||
},
|
||||
{
|
||||
"name": "unit_decimal_places",
|
||||
"required": false,
|
||||
"description": "Specify the number of decimal places for unit amounts. For example, use 4 for four decimal places.",
|
||||
"value_schema": {
|
||||
"val_type": "integer",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "e.g. unitdp=4 \u2013 (Unit Decimal Places) You can opt in to use four decimal places for unit amounts"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "unitdp"
|
||||
},
|
||||
{
|
||||
"name": "number_of_records_per_page",
|
||||
"required": false,
|
||||
"description": "Defines the number of credit notes to retrieve per page from the Xero service. This helps control the size of each result set.",
|
||||
"value_schema": {
|
||||
"val_type": "integer",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Number of records to retrieve per page"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "pageSize"
|
||||
},
|
||||
{
|
||||
"name": "modified_since_timestamp",
|
||||
"required": false,
|
||||
"description": "Only retrieve records created or modified after this timestamp (in ISO 8601 format).",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Only records created or modified since this timestamp will be returned"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "If-Modified-Since"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getCreditNotes'.",
|
||||
"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.transactions.read",
|
||||
"accounting.transactions"
|
||||
]
|
||||
}
|
||||
},
|
||||
"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/CreditNotes",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "where",
|
||||
"tool_parameter_name": "filter_by_element",
|
||||
"description": "Filter by an any element",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Filter by an any element"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "order",
|
||||
"tool_parameter_name": "sort_credit_notes",
|
||||
"description": "Order by an any element",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Order by an any element"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "page",
|
||||
"tool_parameter_name": "page_number",
|
||||
"description": "e.g. page=1 \u2013 Up to 100 credit notes will be returned in a single API call with line items shown for each credit note",
|
||||
"value_schema": {
|
||||
"val_type": "integer",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "e.g. page=1 \u2013 Up to 100 credit notes will be returned in a single API call with line items shown for each credit note"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "unitdp",
|
||||
"tool_parameter_name": "unit_decimal_places",
|
||||
"description": "e.g. unitdp=4 \u2013 (Unit Decimal Places) You can opt in to use four decimal places for unit amounts",
|
||||
"value_schema": {
|
||||
"val_type": "integer",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "e.g. unitdp=4 \u2013 (Unit Decimal Places) You can opt in to use four decimal places for unit amounts"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "pageSize",
|
||||
"tool_parameter_name": "number_of_records_per_page",
|
||||
"description": "Number of records to retrieve per page",
|
||||
"value_schema": {
|
||||
"val_type": "integer",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Number of records to retrieve per page"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"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": []
|
||||
},
|
||||
{
|
||||
"name": "If-Modified-Since",
|
||||
"tool_parameter_name": "modified_since_timestamp",
|
||||
"description": "Only records created or modified since this timestamp will be returned",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Only records created or modified since this timestamp will be returned"
|
||||
},
|
||||
"accepted_as": "header",
|
||||
"required": false,
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,236 @@
|
|||
{
|
||||
"name": "GetDraftExpenseReceipts",
|
||||
"fully_qualified_name": "XeroApi.GetDraftExpenseReceipts@0.1.0",
|
||||
"description": "Retrieve draft expense claim receipts from Xero.\n\nThis tool retrieves draft expense receipts for any user from Xero. It should be called when you need to access draft expense claims.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "xero_tenant_id",
|
||||
"required": true,
|
||||
"description": "The unique identifier for a Xero tenant. Used to specify which tenant's data 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_condition",
|
||||
"required": false,
|
||||
"description": "A string to filter draft expense receipts based on specified criteria.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Filter by an any element"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "where"
|
||||
},
|
||||
{
|
||||
"name": "order_receipts_by",
|
||||
"required": false,
|
||||
"description": "Specify the attribute by which to order the receipts. For example, by date or amount.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Order by an any element"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "order"
|
||||
},
|
||||
{
|
||||
"name": "unit_decimal_places",
|
||||
"required": false,
|
||||
"description": "Specifies the number of decimal places for unit amounts. For example, set to 4 for four decimal places.",
|
||||
"value_schema": {
|
||||
"val_type": "integer",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "e.g. unitdp=4 \u2013 (Unit Decimal Places) You can opt in to use four decimal places for unit amounts"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "unitdp"
|
||||
},
|
||||
{
|
||||
"name": "modified_since_timestamp",
|
||||
"required": false,
|
||||
"description": "A timestamp to filter records updated or created since this date. Format should be in ISO 8601, e.g., '2023-10-10T00:00:00Z'.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Only records created or modified since this timestamp will be returned"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "If-Modified-Since"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getReceipts'.",
|
||||
"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.transactions.read",
|
||||
"accounting.transactions"
|
||||
]
|
||||
}
|
||||
},
|
||||
"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/Receipts",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "where",
|
||||
"tool_parameter_name": "filter_condition",
|
||||
"description": "Filter by an any element",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Filter by an any element"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "order",
|
||||
"tool_parameter_name": "order_receipts_by",
|
||||
"description": "Order by an any element",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Order by an any element"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "unitdp",
|
||||
"tool_parameter_name": "unit_decimal_places",
|
||||
"description": "e.g. unitdp=4 \u2013 (Unit Decimal Places) You can opt in to use four decimal places for unit amounts",
|
||||
"value_schema": {
|
||||
"val_type": "integer",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "e.g. unitdp=4 \u2013 (Unit Decimal Places) You can opt in to use four decimal places for unit amounts"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "xero_tenant_id",
|
||||
"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": []
|
||||
},
|
||||
{
|
||||
"name": "If-Modified-Since",
|
||||
"tool_parameter_name": "modified_since_timestamp",
|
||||
"description": "Only records created or modified since this timestamp will be returned",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Only records created or modified since this timestamp will be returned"
|
||||
},
|
||||
"accepted_as": "header",
|
||||
"required": false,
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,204 @@
|
|||
{
|
||||
"name": "GetExpenseReceiptAttachment",
|
||||
"fully_qualified_name": "XeroApi.GetExpenseReceiptAttachment@0.1.0",
|
||||
"description": "Retrieve an attachment from a receipt by file name.\n\nThis tool retrieves a specific attachment from an expense claim receipt using the file name. It should be called when you need to access a specific attachment associated with a receipt in the Xero platform.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "receipt_id",
|
||||
"required": true,
|
||||
"description": "The unique identifier for a specific expense receipt. This is used to locate the correct receipt attachment.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a Receipt"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "ReceiptID"
|
||||
},
|
||||
{
|
||||
"name": "attachment_file_name",
|
||||
"required": true,
|
||||
"description": "The name of the attachment to retrieve from the expense claim receipt.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Name of the attachment"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "FileName"
|
||||
},
|
||||
{
|
||||
"name": "xero_tenant_identifier",
|
||||
"required": true,
|
||||
"description": "Xero identifier for the Tenant. Required to specify the organization context in Xero from which to retrieve the attachment.",
|
||||
"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": "attachment_mime_type",
|
||||
"required": true,
|
||||
"description": "The MIME type of the attachment file, such as image/jpg or application/pdf, that you are retrieving from the receipt.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "contentType"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getReceiptAttachmentByFileName'.",
|
||||
"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.attachments",
|
||||
"accounting.attachments.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/Receipts/{ReceiptID}/Attachments/{FileName}",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "ReceiptID",
|
||||
"tool_parameter_name": "receipt_id",
|
||||
"description": "Unique identifier for a Receipt",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a Receipt"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "FileName",
|
||||
"tool_parameter_name": "attachment_file_name",
|
||||
"description": "Name of the attachment",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Name of the attachment"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "xero_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": []
|
||||
},
|
||||
{
|
||||
"name": "contentType",
|
||||
"tool_parameter_name": "attachment_mime_type",
|
||||
"description": "The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf"
|
||||
},
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,203 @@
|
|||
{
|
||||
"name": "GetFinancialJournals",
|
||||
"fully_qualified_name": "XeroApi.GetFinancialJournals@0.1.0",
|
||||
"description": "Retrieve financial journal entries from Xero.\n\nUse this tool to access financial journal entries recorded in Xero. It should be called when detailed accounting journal information is needed for financial analysis or record-keeping.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "tenant_identifier",
|
||||
"required": true,
|
||||
"description": "The unique Xero identifier for the tenant. Required to specify which tenant's journals are retrieved.",
|
||||
"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": "journal_number_offset",
|
||||
"required": false,
|
||||
"description": "Specify the journal number offset. Journals with a number greater than this will be returned.",
|
||||
"value_schema": {
|
||||
"val_type": "integer",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Offset by a specified journal number. e.g. journals with a JournalNumber greater than the offset will be returned"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "offset"
|
||||
},
|
||||
{
|
||||
"name": "modified_since_timestamp",
|
||||
"required": false,
|
||||
"description": "Return records created or modified since this timestamp. Use a string format like 'YYYY-MM-DDTHH:MM:SSZ'.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Only records created or modified since this timestamp will be returned"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "If-Modified-Since"
|
||||
},
|
||||
{
|
||||
"name": "retrieve_cash_basis_journals",
|
||||
"required": false,
|
||||
"description": "Set to true to retrieve journals on a cash basis. Defaults to false for accrual basis.",
|
||||
"value_schema": {
|
||||
"val_type": "boolean",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Filter to retrieve journals on a cash basis. Journals are returned on an accrual basis by default."
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "paymentsOnly"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getJournals'.",
|
||||
"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.journals.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/Journals",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "offset",
|
||||
"tool_parameter_name": "journal_number_offset",
|
||||
"description": "Offset by a specified journal number. e.g. journals with a JournalNumber greater than the offset will be returned",
|
||||
"value_schema": {
|
||||
"val_type": "integer",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Offset by a specified journal number. e.g. journals with a JournalNumber greater than the offset will be returned"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "paymentsOnly",
|
||||
"tool_parameter_name": "retrieve_cash_basis_journals",
|
||||
"description": "Filter to retrieve journals on a cash basis. Journals are returned on an accrual basis by default.",
|
||||
"value_schema": {
|
||||
"val_type": "boolean",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Filter to retrieve journals on a cash basis. Journals are returned on an accrual basis by default."
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"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": []
|
||||
},
|
||||
{
|
||||
"name": "If-Modified-Since",
|
||||
"tool_parameter_name": "modified_since_timestamp",
|
||||
"description": "Only records created or modified since this timestamp will be returned",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Only records created or modified since this timestamp will be returned"
|
||||
},
|
||||
"accepted_as": "header",
|
||||
"required": false,
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,204 @@
|
|||
{
|
||||
"name": "GetInvoiceAttachment",
|
||||
"fully_qualified_name": "XeroApi.GetInvoiceAttachment@0.1.0",
|
||||
"description": "Retrieve an attachment from an invoice by filename.\n\nUse this tool to obtain a specific attachment from an invoice or purchase bill by specifying the filename.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "invoice_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for the invoice from which to retrieve the attachment.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for an Invoice"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "InvoiceID"
|
||||
},
|
||||
{
|
||||
"name": "attachment_file_name",
|
||||
"required": true,
|
||||
"description": "Specify the exact name of the attachment to retrieve from the invoice or purchase bill.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Name of the attachment"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "FileName"
|
||||
},
|
||||
{
|
||||
"name": "tenant_identifier",
|
||||
"required": true,
|
||||
"description": "Xero identifier for the Tenant to specify which organization's data to access.",
|
||||
"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": "attachment_mime_type",
|
||||
"required": true,
|
||||
"description": "The MIME type of the attachment file being retrieved, such as image/jpg or application/pdf.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "contentType"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getInvoiceAttachmentByFileName'.",
|
||||
"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.attachments",
|
||||
"accounting.attachments.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/Invoices/{InvoiceID}/Attachments/{FileName}",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "InvoiceID",
|
||||
"tool_parameter_name": "invoice_id",
|
||||
"description": "Unique identifier for an Invoice",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for an Invoice"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "FileName",
|
||||
"tool_parameter_name": "attachment_file_name",
|
||||
"description": "Name of the attachment",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Name of the attachment"
|
||||
},
|
||||
"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": []
|
||||
},
|
||||
{
|
||||
"name": "contentType",
|
||||
"tool_parameter_name": "attachment_mime_type",
|
||||
"description": "The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf"
|
||||
},
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,172 @@
|
|||
{
|
||||
"name": "GetInvoiceDetails",
|
||||
"fully_qualified_name": "XeroApi.GetInvoiceDetails@0.1.0",
|
||||
"description": "Retrieve a specific invoice using its unique ID.\n\nUse this tool to get detailed information about a specific sales invoice or purchase bill by providing its unique invoice ID. This can be helpful when checking invoice details in the Xero accounting system.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "invoice_identifier",
|
||||
"required": true,
|
||||
"description": "Unique identifier for the invoice to be retrieved.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for an Invoice"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "InvoiceID"
|
||||
},
|
||||
{
|
||||
"name": "xero_tenant_id",
|
||||
"required": true,
|
||||
"description": "Xero identifier for the Tenant. Used to specify which tenant's invoice is retrieved.",
|
||||
"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": "unit_decimal_places",
|
||||
"required": false,
|
||||
"description": "Specify the number of decimal places to use for unit amounts, e.g., 4 for four decimal places.",
|
||||
"value_schema": {
|
||||
"val_type": "integer",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "e.g. unitdp=4 \u2013 (Unit Decimal Places) You can opt in to use four decimal places for unit amounts"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "unitdp"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getInvoice'.",
|
||||
"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.transactions.read",
|
||||
"accounting.transactions"
|
||||
]
|
||||
}
|
||||
},
|
||||
"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/Invoices/{InvoiceID}",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "unitdp",
|
||||
"tool_parameter_name": "unit_decimal_places",
|
||||
"description": "e.g. unitdp=4 \u2013 (Unit Decimal Places) You can opt in to use four decimal places for unit amounts",
|
||||
"value_schema": {
|
||||
"val_type": "integer",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "e.g. unitdp=4 \u2013 (Unit Decimal Places) You can opt in to use four decimal places for unit amounts"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "InvoiceID",
|
||||
"tool_parameter_name": "invoice_identifier",
|
||||
"description": "Unique identifier for an Invoice",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for an Invoice"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "xero_tenant_id",
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,108 @@
|
|||
{
|
||||
"name": "GetInvoiceReminderSettings",
|
||||
"fully_qualified_name": "XeroApi.GetInvoiceReminderSettings@0.1.0",
|
||||
"description": "Retrieve invoice reminder settings from Xero.\n\nThis tool retrieves the current settings for invoice reminders from Xero. It should be called when you need to check or manage how invoice reminders are configured.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "xero_tenant_id",
|
||||
"required": true,
|
||||
"description": "The unique identifier for the Xero tenant. This is required to access specific tenant data.",
|
||||
"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"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getInvoiceReminders'.",
|
||||
"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.settings",
|
||||
"accounting.settings.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/InvoiceReminders/Settings",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "xero_tenant_id",
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,140 @@
|
|||
{
|
||||
"name": "GetItemHistory",
|
||||
"fully_qualified_name": "XeroApi.GetItemHistory@0.1.0",
|
||||
"description": "Retrieve history for a specific item from Xero.\n\nThis tool retrieves the historical details of a specific item using its ItemID. Use it to access the change history or modifications made to an item within the Xero platform.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "item_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for the item whose history you want to retrieve in Xero.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for an Item"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "ItemID"
|
||||
},
|
||||
{
|
||||
"name": "xero_tenant_id",
|
||||
"required": true,
|
||||
"description": "Provide the unique Xero identifier associated with the Tenant to access its data.",
|
||||
"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"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getItemHistory'.",
|
||||
"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.settings",
|
||||
"accounting.settings.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/Items/{ItemID}/History",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "ItemID",
|
||||
"tool_parameter_name": "item_id",
|
||||
"description": "Unique identifier for an Item",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for an Item"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "xero_tenant_id",
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
236
toolkits/xero_api/arcade_xero_api/wrapper_tools/GetItems.json
Normal file
236
toolkits/xero_api/arcade_xero_api/wrapper_tools/GetItems.json
Normal file
|
|
@ -0,0 +1,236 @@
|
|||
{
|
||||
"name": "GetItems",
|
||||
"fully_qualified_name": "XeroApi.GetItems@0.1.0",
|
||||
"description": "Retrieve items from Xero.\n\nThis tool fetches a list of items from the Xero service, typically used for inventory or sales purposes.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "xero_tenant_id",
|
||||
"required": true,
|
||||
"description": "The unique identifier for a Xero tenant. Required to specify which tenant's data 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_criteria",
|
||||
"required": false,
|
||||
"description": "Filter items by specific criteria using any element such as field names or conditions.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Filter by an any element"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "where"
|
||||
},
|
||||
{
|
||||
"name": "order_by_element",
|
||||
"required": false,
|
||||
"description": "Specify the sorting order of items by any element, such as name or price.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Order by an any element"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "order"
|
||||
},
|
||||
{
|
||||
"name": "unit_decimal_places",
|
||||
"required": false,
|
||||
"description": "Defines the number of decimal places for unit amounts, e.g., 4 for four decimal places.",
|
||||
"value_schema": {
|
||||
"val_type": "integer",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "e.g. unitdp=4 \u2013 (Unit Decimal Places) You can opt in to use four decimal places for unit amounts"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "unitdp"
|
||||
},
|
||||
{
|
||||
"name": "modified_since_timestamp",
|
||||
"required": false,
|
||||
"description": "Fetch records created or modified since the provided timestamp (e.g., '2023-01-01T00:00:00Z').",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Only records created or modified since this timestamp will be returned"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "If-Modified-Since"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getItems'.",
|
||||
"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.settings",
|
||||
"accounting.settings.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/Items",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "where",
|
||||
"tool_parameter_name": "filter_criteria",
|
||||
"description": "Filter by an any element",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Filter by an any element"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "order",
|
||||
"tool_parameter_name": "order_by_element",
|
||||
"description": "Order by an any element",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Order by an any element"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "unitdp",
|
||||
"tool_parameter_name": "unit_decimal_places",
|
||||
"description": "e.g. unitdp=4 \u2013 (Unit Decimal Places) You can opt in to use four decimal places for unit amounts",
|
||||
"value_schema": {
|
||||
"val_type": "integer",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "e.g. unitdp=4 \u2013 (Unit Decimal Places) You can opt in to use four decimal places for unit amounts"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "xero_tenant_id",
|
||||
"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": []
|
||||
},
|
||||
{
|
||||
"name": "If-Modified-Since",
|
||||
"tool_parameter_name": "modified_since_timestamp",
|
||||
"description": "Only records created or modified since this timestamp will be returned",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Only records created or modified since this timestamp will be returned"
|
||||
},
|
||||
"accepted_as": "header",
|
||||
"required": false,
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,204 @@
|
|||
{
|
||||
"name": "GetJournalAttachmentByFilename",
|
||||
"fully_qualified_name": "XeroApi.GetJournalAttachmentByFilename@0.1.0",
|
||||
"description": "Retrieve a manual journal attachment by file name.\n\nUse this tool to get a specific attachment from a manual journal using its file name. It requires the manual journal ID and the file name to retrieve the attachment data.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "manual_journal_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for the manual journal. Required to retrieve the specific attachment.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a ManualJournal"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "ManualJournalID"
|
||||
},
|
||||
{
|
||||
"name": "attachment_file_name",
|
||||
"required": true,
|
||||
"description": "The name of the attachment file to retrieve from the manual journal.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Name of the attachment"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "FileName"
|
||||
},
|
||||
{
|
||||
"name": "xero_tenant_identifier",
|
||||
"required": true,
|
||||
"description": "The unique identifier for the Xero tenant, used to specify the particular organization's data to access.",
|
||||
"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": "attachment_file_mime_type",
|
||||
"required": true,
|
||||
"description": "The MIME type of the attachment file, such as image/jpeg or application/pdf.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "contentType"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getManualJournalAttachmentByFileName'.",
|
||||
"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.attachments",
|
||||
"accounting.attachments.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/ManualJournals/{ManualJournalID}/Attachments/{FileName}",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "ManualJournalID",
|
||||
"tool_parameter_name": "manual_journal_id",
|
||||
"description": "Unique identifier for a ManualJournal",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a ManualJournal"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "FileName",
|
||||
"tool_parameter_name": "attachment_file_name",
|
||||
"description": "Name of the attachment",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Name of the attachment"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "xero_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": []
|
||||
},
|
||||
{
|
||||
"name": "contentType",
|
||||
"tool_parameter_name": "attachment_file_mime_type",
|
||||
"description": "The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf"
|
||||
},
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,140 @@
|
|||
{
|
||||
"name": "GetLinkedTransaction",
|
||||
"fully_qualified_name": "XeroApi.GetLinkedTransaction@0.1.0",
|
||||
"description": "Retrieve specific linked transaction details by ID.\n\nUse this tool to get detailed information about a specific linked transaction, such as billable expenses, using a unique transaction ID.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "linked_transaction_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for the linked transaction to be retrieved.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a LinkedTransaction"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "LinkedTransactionID"
|
||||
},
|
||||
{
|
||||
"name": "tenant_id",
|
||||
"required": true,
|
||||
"description": "Xero tenant identifier for accessing the correct organization.",
|
||||
"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"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getLinkedTransaction'.",
|
||||
"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.transactions.read",
|
||||
"accounting.transactions"
|
||||
]
|
||||
}
|
||||
},
|
||||
"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/LinkedTransactions/{LinkedTransactionID}",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "LinkedTransactionID",
|
||||
"tool_parameter_name": "linked_transaction_id",
|
||||
"description": "Unique identifier for a LinkedTransaction",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a LinkedTransaction"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "tenant_id",
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,140 @@
|
|||
{
|
||||
"name": "GetManualJournalHistory",
|
||||
"fully_qualified_name": "XeroApi.GetManualJournalHistory@0.1.0",
|
||||
"description": "Retrieve history for a specific manual journal.\n\nThis tool fetches the historical details related to a specific manual journal by its ID from Xero, providing insights into past changes and actions.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "manual_journal_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for the manual journal. Used to retrieve its historical details from Xero.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a ManualJournal"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "ManualJournalID"
|
||||
},
|
||||
{
|
||||
"name": "xero_tenant_id",
|
||||
"required": true,
|
||||
"description": "Xero identifier for a specific tenant. This is required to identify which tenant's data 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"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getManualJournalsHistory'.",
|
||||
"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.transactions.read",
|
||||
"accounting.transactions"
|
||||
]
|
||||
}
|
||||
},
|
||||
"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/ManualJournals/{ManualJournalID}/History",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "ManualJournalID",
|
||||
"tool_parameter_name": "manual_journal_id",
|
||||
"description": "Unique identifier for a ManualJournal",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a ManualJournal"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "xero_tenant_id",
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,140 @@
|
|||
{
|
||||
"name": "GetOverpaymentHistory",
|
||||
"fully_qualified_name": "XeroApi.GetOverpaymentHistory@0.1.0",
|
||||
"description": "Retrieve history records for a specific overpayment in Xero.\n\nUse this tool to obtain detailed history records related to a specific overpayment, identified by the Overpayment ID, within the Xero platform.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "overpayment_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for a specific overpayment in Xero.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a Overpayment"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "OverpaymentID"
|
||||
},
|
||||
{
|
||||
"name": "xero_tenant_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for the tenant in Xero. Used to specify which tenant's data to access.",
|
||||
"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"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getOverpaymentHistory'.",
|
||||
"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.transactions.read",
|
||||
"accounting.transactions"
|
||||
]
|
||||
}
|
||||
},
|
||||
"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/Overpayments/{OverpaymentID}/History",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "OverpaymentID",
|
||||
"tool_parameter_name": "overpayment_id",
|
||||
"description": "Unique identifier for a Overpayment",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a Overpayment"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "xero_tenant_id",
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,139 @@
|
|||
{
|
||||
"name": "GetPaymentServicesForBrandingTheme",
|
||||
"fully_qualified_name": "XeroApi.GetPaymentServicesForBrandingTheme@0.1.0",
|
||||
"description": "Retrieve payment services for a specific branding theme.\n\nThis tool retrieves the payment services linked to a given branding theme by its ID. Call this tool when you need to access payment service information tied to particular branding configurations.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "branding_theme_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for a Branding Theme to retrieve associated payment services.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a Branding Theme"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "BrandingThemeID"
|
||||
},
|
||||
{
|
||||
"name": "xero_tenant_id",
|
||||
"required": true,
|
||||
"description": "Xero identifier for the Tenant. This unique ID is required to specify which tenant's data is being accessed.",
|
||||
"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"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getBrandingThemePaymentServices'.",
|
||||
"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": [
|
||||
"paymentservices"
|
||||
]
|
||||
}
|
||||
},
|
||||
"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/BrandingThemes/{BrandingThemeID}/PaymentServices",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "BrandingThemeID",
|
||||
"tool_parameter_name": "branding_theme_id",
|
||||
"description": "Unique identifier for a Branding Theme",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a Branding Theme"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "xero_tenant_id",
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,140 @@
|
|||
{
|
||||
"name": "GetPrepaymentDetails",
|
||||
"fully_qualified_name": "XeroApi.GetPrepaymentDetails@0.1.0",
|
||||
"description": "Retrieve details of a specified prepayment from Xero.\n\nUse this tool to obtain information on a specific prepayment by providing the PrepaymentID. Ideal for checking prepayment details within the Xero accounting system.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "prepayment_id",
|
||||
"required": true,
|
||||
"description": "The unique identifier for the prepayment you want to retrieve.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a PrePayment"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "PrepaymentID"
|
||||
},
|
||||
{
|
||||
"name": "xero_tenant_id",
|
||||
"required": true,
|
||||
"description": "The unique Xero identifier for the tenant. Required to retrieve specific prepayment data.",
|
||||
"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"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getPrepayment'.",
|
||||
"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.transactions.read",
|
||||
"accounting.transactions"
|
||||
]
|
||||
}
|
||||
},
|
||||
"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/Prepayments/{PrepaymentID}",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "PrepaymentID",
|
||||
"tool_parameter_name": "prepayment_id",
|
||||
"description": "Unique identifier for a PrePayment",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a PrePayment"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "xero_tenant_id",
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,140 @@
|
|||
{
|
||||
"name": "GetPrepaymentHistory",
|
||||
"fully_qualified_name": "XeroApi.GetPrepaymentHistory@0.1.0",
|
||||
"description": "Retrieve history for a specific prepayment.\n\nUse this tool to obtain the historical records associated with a specific prepayment in Xero.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "prepayment_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for the prepayment to retrieve its history.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a PrePayment"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "PrepaymentID"
|
||||
},
|
||||
{
|
||||
"name": "xero_tenant_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for the Xero tenant, required to access its data.",
|
||||
"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"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getPrepaymentHistory'.",
|
||||
"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.transactions.read",
|
||||
"accounting.transactions"
|
||||
]
|
||||
}
|
||||
},
|
||||
"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/Prepayments/{PrepaymentID}/History",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "PrepaymentID",
|
||||
"tool_parameter_name": "prepayment_id",
|
||||
"description": "Unique identifier for a PrePayment",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a PrePayment"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "xero_tenant_id",
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,435 @@
|
|||
{
|
||||
"name": "GetProfitAndLossReport",
|
||||
"fully_qualified_name": "XeroApi.GetProfitAndLossReport@0.1.0",
|
||||
"description": "Retrieve profit and loss report from Xero.\n\nCall this tool to obtain detailed profit and loss reports for financial analysis.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "tenant_identifier",
|
||||
"required": true,
|
||||
"description": "The Xero identifier for the tenant. Required to specify which tenant's data to access.",
|
||||
"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": "from_date",
|
||||
"required": false,
|
||||
"description": "Filter the report by the starting date in YYYY-MM-DD format, e.g., 2021-02-01.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "filter by the from date of the report e.g. 2021-02-01"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "fromDate"
|
||||
},
|
||||
{
|
||||
"name": "end_date",
|
||||
"required": false,
|
||||
"description": "Filter by the end date of the report in YYYY-MM-DD format, e.g., 2021-02-28.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "filter by the to date of the report e.g. 2021-02-28"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "toDate"
|
||||
},
|
||||
{
|
||||
"name": "number_of_comparison_periods",
|
||||
"required": false,
|
||||
"description": "The number of periods to compare, must be an integer between 1 and 12.",
|
||||
"value_schema": {
|
||||
"val_type": "integer",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The number of periods to compare (integer between 1 and 12)"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "periods"
|
||||
},
|
||||
{
|
||||
"name": "comparison_timeframe",
|
||||
"required": false,
|
||||
"description": "The period size to compare to for the report. Options are MONTH, QUARTER, or YEAR.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": [
|
||||
"MONTH",
|
||||
"QUARTER",
|
||||
"YEAR"
|
||||
],
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The period size to compare to (MONTH, QUARTER, YEAR)"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "timeframe"
|
||||
},
|
||||
{
|
||||
"name": "tracking_category_id",
|
||||
"required": false,
|
||||
"description": "The first tracking category ID for the Profit and Loss report filter. Expect a string representing the tracking category identifier.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The trackingCategory 1 for the ProfitAndLoss report"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "trackingCategoryID"
|
||||
},
|
||||
{
|
||||
"name": "secondary_tracking_category_id",
|
||||
"required": false,
|
||||
"description": "The ID of the second tracking category for the Profit and Loss report.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The trackingCategory 2 for the ProfitAndLoss report"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "trackingCategoryID2"
|
||||
},
|
||||
{
|
||||
"name": "tracking_option_1_id",
|
||||
"required": false,
|
||||
"description": "The identifier for the first tracking option in the Profit and Loss report.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The tracking option 1 for the ProfitAndLoss report"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "trackingOptionID"
|
||||
},
|
||||
{
|
||||
"name": "tracking_option_id_2",
|
||||
"required": false,
|
||||
"description": "The second tracking option identifier for filtering the Profit and Loss report.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The tracking option 2 for the ProfitAndLoss report"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "trackingOptionID2"
|
||||
},
|
||||
{
|
||||
"name": "return_standard_layout",
|
||||
"required": false,
|
||||
"description": "Set to true to return the Profit and Loss report in the standard layout.",
|
||||
"value_schema": {
|
||||
"val_type": "boolean",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Return the standard layout for the ProfitAndLoss report"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "standardLayout"
|
||||
},
|
||||
{
|
||||
"name": "return_cash_basis_only",
|
||||
"required": false,
|
||||
"description": "Specify true to return the Profit and Loss report on a cash only basis.",
|
||||
"value_schema": {
|
||||
"val_type": "boolean",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Return cash only basis for the ProfitAndLoss report"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "paymentsOnly"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getReportProfitAndLoss'.",
|
||||
"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.reports.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/Reports/ProfitAndLoss",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "fromDate",
|
||||
"tool_parameter_name": "from_date",
|
||||
"description": "filter by the from date of the report e.g. 2021-02-01",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "filter by the from date of the report e.g. 2021-02-01"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "toDate",
|
||||
"tool_parameter_name": "end_date",
|
||||
"description": "filter by the to date of the report e.g. 2021-02-28",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "filter by the to date of the report e.g. 2021-02-28"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "periods",
|
||||
"tool_parameter_name": "number_of_comparison_periods",
|
||||
"description": "The number of periods to compare (integer between 1 and 12)",
|
||||
"value_schema": {
|
||||
"val_type": "integer",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The number of periods to compare (integer between 1 and 12)"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "timeframe",
|
||||
"tool_parameter_name": "comparison_timeframe",
|
||||
"description": "The period size to compare to (MONTH, QUARTER, YEAR)",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": [
|
||||
"MONTH",
|
||||
"QUARTER",
|
||||
"YEAR"
|
||||
],
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The period size to compare to (MONTH, QUARTER, YEAR)"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "trackingCategoryID",
|
||||
"tool_parameter_name": "tracking_category_id",
|
||||
"description": "The trackingCategory 1 for the ProfitAndLoss report",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The trackingCategory 1 for the ProfitAndLoss report"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "trackingCategoryID2",
|
||||
"tool_parameter_name": "secondary_tracking_category_id",
|
||||
"description": "The trackingCategory 2 for the ProfitAndLoss report",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The trackingCategory 2 for the ProfitAndLoss report"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "trackingOptionID",
|
||||
"tool_parameter_name": "tracking_option_1_id",
|
||||
"description": "The tracking option 1 for the ProfitAndLoss report",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The tracking option 1 for the ProfitAndLoss report"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "trackingOptionID2",
|
||||
"tool_parameter_name": "tracking_option_id_2",
|
||||
"description": "The tracking option 2 for the ProfitAndLoss report",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The tracking option 2 for the ProfitAndLoss report"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "standardLayout",
|
||||
"tool_parameter_name": "return_standard_layout",
|
||||
"description": "Return the standard layout for the ProfitAndLoss report",
|
||||
"value_schema": {
|
||||
"val_type": "boolean",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Return the standard layout for the ProfitAndLoss report"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "paymentsOnly",
|
||||
"tool_parameter_name": "return_cash_basis_only",
|
||||
"description": "Return cash only basis for the ProfitAndLoss report",
|
||||
"value_schema": {
|
||||
"val_type": "boolean",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Return cash only basis for the ProfitAndLoss report"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,140 @@
|
|||
{
|
||||
"name": "GetPurchaseOrderPdf",
|
||||
"fully_qualified_name": "XeroApi.GetPurchaseOrderPdf@0.1.0",
|
||||
"description": "Retrieve a purchase order as a PDF using its ID.\n\nUse this tool to obtain a specific purchase order in PDF format by providing its unique ID. Useful for accessing purchase order details in a document format.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "purchase_order_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for a purchase order to retrieve it as a PDF.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for an Purchase Order"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "PurchaseOrderID"
|
||||
},
|
||||
{
|
||||
"name": "tenant_identifier",
|
||||
"required": true,
|
||||
"description": "The Xero identifier for the Tenant. Required to specify which tenant's data to access.",
|
||||
"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"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getPurchaseOrderAsPdf'.",
|
||||
"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.transactions.read",
|
||||
"accounting.transactions"
|
||||
]
|
||||
}
|
||||
},
|
||||
"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/PurchaseOrders/{PurchaseOrderID}/pdf",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "PurchaseOrderID",
|
||||
"tool_parameter_name": "purchase_order_id",
|
||||
"description": "Unique identifier for an Purchase Order",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for an Purchase Order"
|
||||
},
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,204 @@
|
|||
{
|
||||
"name": "GetQuoteAttachment",
|
||||
"fully_qualified_name": "XeroApi.GetQuoteAttachment@0.1.0",
|
||||
"description": "Retrieve a specific attachment from a quote by ID.\n\nUse this tool to retrieve a specific attachment from a quote by providing the unique Quote ID and Attachment ID.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "quote_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for a quote. Used to specify which quote the attachment belongs to.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for an Quote"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "QuoteID"
|
||||
},
|
||||
{
|
||||
"name": "attachment_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for the attachment object you wish to retrieve.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for Attachment object"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "AttachmentID"
|
||||
},
|
||||
{
|
||||
"name": "xero_tenant_identifier",
|
||||
"required": true,
|
||||
"description": "The unique Xero identifier for the tenant required to access the attachment.",
|
||||
"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": "attachment_content_type",
|
||||
"required": true,
|
||||
"description": "The MIME type of the attachment file to retrieve, such as image/jpeg or application/pdf.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "contentType"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getQuoteAttachmentById'.",
|
||||
"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.attachments",
|
||||
"accounting.attachments.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/Quotes/{QuoteID}/Attachments/{AttachmentID}",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "QuoteID",
|
||||
"tool_parameter_name": "quote_id",
|
||||
"description": "Unique identifier for an Quote",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for an Quote"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "AttachmentID",
|
||||
"tool_parameter_name": "attachment_id",
|
||||
"description": "Unique identifier for Attachment object",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for Attachment object"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "xero_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": []
|
||||
},
|
||||
{
|
||||
"name": "contentType",
|
||||
"tool_parameter_name": "attachment_content_type",
|
||||
"description": "The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf"
|
||||
},
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,140 @@
|
|||
{
|
||||
"name": "GetReceiptAttachments",
|
||||
"fully_qualified_name": "XeroApi.GetReceiptAttachments@0.1.0",
|
||||
"description": "Retrieve attachments for a specific expense claim receipt.\n\nUse this tool to obtain all attachments related to a specific expense claim receipt by providing the receipt ID.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "receipt_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for the expense claim receipt to retrieve attachments.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a Receipt"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "ReceiptID"
|
||||
},
|
||||
{
|
||||
"name": "tenant_identifier",
|
||||
"required": true,
|
||||
"description": "The unique Xero identifier for the tenant. Required to access tenant-specific data.",
|
||||
"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"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getReceiptAttachments'.",
|
||||
"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.attachments",
|
||||
"accounting.attachments.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/Receipts/{ReceiptID}/Attachments",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "ReceiptID",
|
||||
"tool_parameter_name": "receipt_id",
|
||||
"description": "Unique identifier for a Receipt",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a Receipt"
|
||||
},
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,140 @@
|
|||
{
|
||||
"name": "GetRepeatingInvoice",
|
||||
"fully_qualified_name": "XeroApi.GetRepeatingInvoice@0.1.0",
|
||||
"description": "Retrieve a specific repeating invoice using its unique ID.\n\nUse this tool to retrieve detailed information about a specific repeating invoice by providing its unique ID.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "repeating_invoice_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for the specific repeating invoice to retrieve.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a Repeating Invoice"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "RepeatingInvoiceID"
|
||||
},
|
||||
{
|
||||
"name": "tenant_id",
|
||||
"required": true,
|
||||
"description": "Xero tenant identifier required to access a specific tenant's data.",
|
||||
"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"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getRepeatingInvoice'.",
|
||||
"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.transactions.read",
|
||||
"accounting.transactions"
|
||||
]
|
||||
}
|
||||
},
|
||||
"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/RepeatingInvoices/{RepeatingInvoiceID}",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "RepeatingInvoiceID",
|
||||
"tool_parameter_name": "repeating_invoice_id",
|
||||
"description": "Unique identifier for a Repeating Invoice",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a Repeating Invoice"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "tenant_id",
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,140 @@
|
|||
{
|
||||
"name": "GetRepeatingInvoiceHistory",
|
||||
"fully_qualified_name": "XeroApi.GetRepeatingInvoiceHistory@0.1.0",
|
||||
"description": "Retrieve history record for a specific repeating invoice.\n\nUse this tool to access the historical details of a specified repeating invoice. Ideal for understanding past changes, updates, or notes associated with the invoice in Xero.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "repeating_invoice_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for the specific repeating invoice to retrieve history for.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a Repeating Invoice"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "RepeatingInvoiceID"
|
||||
},
|
||||
{
|
||||
"name": "xero_tenant_id",
|
||||
"required": true,
|
||||
"description": "The unique identifier for the Xero tenant associated with the repeating invoice.",
|
||||
"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"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getRepeatingInvoiceHistory'.",
|
||||
"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.transactions.read",
|
||||
"accounting.transactions"
|
||||
]
|
||||
}
|
||||
},
|
||||
"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/RepeatingInvoices/{RepeatingInvoiceID}/History",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "RepeatingInvoiceID",
|
||||
"tool_parameter_name": "repeating_invoice_id",
|
||||
"description": "Unique identifier for a Repeating Invoice",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a Repeating Invoice"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "xero_tenant_id",
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,172 @@
|
|||
{
|
||||
"name": "GetRepeatingInvoices",
|
||||
"fully_qualified_name": "XeroApi.GetRepeatingInvoices@0.1.0",
|
||||
"description": "Retrieve repeating invoices from Xero.\n\nUse this tool to get a list of repeating invoices from the Xero platform. It is helpful for managing and reviewing recurring billing information.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "tenant_identifier",
|
||||
"required": true,
|
||||
"description": "The unique identifier for the tenant in Xero. Required to retrieve specific tenant data.",
|
||||
"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_by_element",
|
||||
"required": false,
|
||||
"description": "Filter invoices using a specific element condition. Use Xero's query language for filtering expressions.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Filter by an any element"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "where"
|
||||
},
|
||||
{
|
||||
"name": "order_by_element",
|
||||
"required": false,
|
||||
"description": "Specify the element to order the repeating invoices by. It accepts a string indicating the element to sort by.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Order by an any element"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "order"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getRepeatingInvoices'.",
|
||||
"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.transactions.read",
|
||||
"accounting.transactions"
|
||||
]
|
||||
}
|
||||
},
|
||||
"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/RepeatingInvoices",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "where",
|
||||
"tool_parameter_name": "filter_by_element",
|
||||
"description": "Filter by an any element",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Filter by an any element"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "order",
|
||||
"tool_parameter_name": "order_by_element",
|
||||
"description": "Order by an any element",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Order by an any element"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,140 @@
|
|||
{
|
||||
"name": "GetTaxRateByTaxType",
|
||||
"fully_qualified_name": "XeroApi.GetTaxRateByTaxType@0.1.0",
|
||||
"description": "Retrieve a specific tax rate using a TaxType code.\n\nUse this tool to obtain a particular tax rate by providing a specific TaxType code. It is useful for retrieving tax rates in financial calculations or reports.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "tax_type_code",
|
||||
"required": true,
|
||||
"description": "A valid TaxType code used to retrieve the specific tax rate.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "A valid TaxType code"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "TaxType"
|
||||
},
|
||||
{
|
||||
"name": "xero_tenant_identifier",
|
||||
"required": true,
|
||||
"description": "Xero identifier for the tenant. Required to specify which tenant's data is being accessed.",
|
||||
"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"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getTaxRateByTaxType'.",
|
||||
"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.settings",
|
||||
"accounting.settings.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/TaxRates/{TaxType}",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "TaxType",
|
||||
"tool_parameter_name": "tax_type_code",
|
||||
"description": "A valid TaxType code",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "A valid TaxType code"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "xero_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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,204 @@
|
|||
{
|
||||
"name": "GetTrackingCategories",
|
||||
"fully_qualified_name": "XeroApi.GetTrackingCategories@0.1.0",
|
||||
"description": "Retrieve tracking categories and options from Xero.\n\nUse this tool to get tracking categories and their options from Xero. Useful for financial tracking and categorization tasks.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "xero_tenant_identifier",
|
||||
"required": true,
|
||||
"description": "Unique identifier for the Xero tenant. Required to specify the tenant from which tracking categories should be retrieved.",
|
||||
"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_conditions",
|
||||
"required": false,
|
||||
"description": "String to filter tracking categories by specific conditions.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Filter by an any element"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "where"
|
||||
},
|
||||
{
|
||||
"name": "order_by_element",
|
||||
"required": false,
|
||||
"description": "Specify the element to order the tracking categories and options by.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Order by an any element"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "order"
|
||||
},
|
||||
{
|
||||
"name": "include_archived_categories",
|
||||
"required": false,
|
||||
"description": "Set to true to include categories and options with a status of ARCHIVED in the response.",
|
||||
"value_schema": {
|
||||
"val_type": "boolean",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "e.g. includeArchived=true - Categories and options with a status of ARCHIVED will be included in the response"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "includeArchived"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getTrackingCategories'.",
|
||||
"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.settings",
|
||||
"accounting.settings.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/TrackingCategories",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "where",
|
||||
"tool_parameter_name": "filter_conditions",
|
||||
"description": "Filter by an any element",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Filter by an any element"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "order",
|
||||
"tool_parameter_name": "order_by_element",
|
||||
"description": "Order by an any element",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Order by an any element"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "includeArchived",
|
||||
"tool_parameter_name": "include_archived_categories",
|
||||
"description": "e.g. includeArchived=true - Categories and options with a status of ARCHIVED will be included in the response",
|
||||
"value_schema": {
|
||||
"val_type": "boolean",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "e.g. includeArchived=true - Categories and options with a status of ARCHIVED will be included in the response"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "xero_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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,140 @@
|
|||
{
|
||||
"name": "GetTrackingCategory",
|
||||
"fully_qualified_name": "XeroApi.GetTrackingCategory@0.1.0",
|
||||
"description": "Retrieve tracking category details using its unique ID.\n\nUse this tool to obtain specific details about a tracking category and its options by providing a unique tracking category ID.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "tracking_category_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for the tracking category to retrieve details for.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a TrackingCategory"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "TrackingCategoryID"
|
||||
},
|
||||
{
|
||||
"name": "xero_tenant_id",
|
||||
"required": true,
|
||||
"description": "A string representing the Xero identifier for the tenant. Required to access tenant-specific data.",
|
||||
"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"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getTrackingCategory'.",
|
||||
"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.settings",
|
||||
"accounting.settings.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/TrackingCategories/{TrackingCategoryID}",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "TrackingCategoryID",
|
||||
"tool_parameter_name": "tracking_category_id",
|
||||
"description": "Unique identifier for a TrackingCategory",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a TrackingCategory"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "xero_tenant_id",
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,171 @@
|
|||
{
|
||||
"name": "GetTrialBalanceReport",
|
||||
"fully_qualified_name": "XeroApi.GetTrialBalanceReport@0.1.0",
|
||||
"description": "Fetches the trial balance report from Xero.\n\nUse this tool to retrieve the trial balance report, which provides detailed financial information.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "tenant_identifier",
|
||||
"required": true,
|
||||
"description": "The unique identifier for the Xero tenant to retrieve the trial balance report for.",
|
||||
"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": "report_date",
|
||||
"required": false,
|
||||
"description": "The specific date for the Trial Balance report in YYYY-MM-DD format.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The date for the Trial Balance report e.g. 2018-03-31"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "date"
|
||||
},
|
||||
{
|
||||
"name": "return_cash_basis_only",
|
||||
"required": false,
|
||||
"description": "Set to true to return the trial balance report on a cash-only basis, false for accrual.",
|
||||
"value_schema": {
|
||||
"val_type": "boolean",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Return cash only basis for the Trial Balance report"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "paymentsOnly"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getReportTrialBalance'.",
|
||||
"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.reports.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/Reports/TrialBalance",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "date",
|
||||
"tool_parameter_name": "report_date",
|
||||
"description": "The date for the Trial Balance report e.g. 2018-03-31",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The date for the Trial Balance report e.g. 2018-03-31"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "paymentsOnly",
|
||||
"tool_parameter_name": "return_cash_basis_only",
|
||||
"description": "Return cash only basis for the Trial Balance report",
|
||||
"value_schema": {
|
||||
"val_type": "boolean",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Return cash only basis for the Trial Balance report"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,140 @@
|
|||
{
|
||||
"name": "GetXeroContactByNumber",
|
||||
"fully_qualified_name": "XeroApi.GetXeroContactByNumber@0.1.0",
|
||||
"description": "Retrieve a contact from Xero by contact number.\n\nThis tool retrieves details of a specific contact in a Xero organization using their contact number. It should be called when you need to access contact information by specifying the unique contact number.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "contact_number",
|
||||
"required": true,
|
||||
"description": "The unique contact number to identify a Xero contact; max length 50 characters.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "This field is read only on the Xero contact screen, used to identify contacts in external systems (max length = 50)."
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "ContactNumber"
|
||||
},
|
||||
{
|
||||
"name": "xero_tenant_identifier",
|
||||
"required": true,
|
||||
"description": "Xero identifier for the tenant. It is required to specify which organization's data 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"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getContactByContactNumber'.",
|
||||
"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.contacts.read",
|
||||
"accounting.contacts"
|
||||
]
|
||||
}
|
||||
},
|
||||
"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/Contacts/{ContactNumber}",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "ContactNumber",
|
||||
"tool_parameter_name": "contact_number",
|
||||
"description": "This field is read only on the Xero contact screen, used to identify contacts in external systems (max length = 50).",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "This field is read only on the Xero contact screen, used to identify contacts in external systems (max length = 50)."
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "xero_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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,172 @@
|
|||
{
|
||||
"name": "GetXeroCurrencies",
|
||||
"fully_qualified_name": "XeroApi.GetXeroCurrencies@0.1.0",
|
||||
"description": "Retrieve currencies from your Xero organization.\n\nUse this tool to get a list of all currencies associated with your Xero organization. It is useful for financial tasks, reporting, or currency conversion needs.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "xero_tenant_identifier",
|
||||
"required": true,
|
||||
"description": "Xero identifier for the tenant. Required to access organization-specific data.",
|
||||
"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_criteria",
|
||||
"required": false,
|
||||
"description": "A string to filter the currencies based on specific criteria, such as currency code or name.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Filter by an any element"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "where"
|
||||
},
|
||||
{
|
||||
"name": "order_by",
|
||||
"required": false,
|
||||
"description": "Specify the element to order the currencies by. Accepts a string corresponding to an element in the currency data.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Order by an any element"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "order"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getCurrencies'.",
|
||||
"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.settings",
|
||||
"accounting.settings.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/Currencies",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "where",
|
||||
"tool_parameter_name": "filter_criteria",
|
||||
"description": "Filter by an any element",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Filter by an any element"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "order",
|
||||
"tool_parameter_name": "order_by",
|
||||
"description": "Order by an any element",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Order by an any element"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "xero_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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,108 @@
|
|||
{
|
||||
"name": "GetXeroOrganisationDetails",
|
||||
"fully_qualified_name": "XeroApi.GetXeroOrganisationDetails@0.1.0",
|
||||
"description": "Retrieves Xero organisation details.\n\nUse this tool to obtain detailed information about organisations in Xero. Ideal for accessing organisation data when required.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "xero_tenant_id",
|
||||
"required": true,
|
||||
"description": "The unique identifier for the Xero tenant. This ID is required to specify which organisation's details 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"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getOrganisations'.",
|
||||
"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.settings",
|
||||
"accounting.settings.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/Organisation",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "xero_tenant_id",
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,171 @@
|
|||
{
|
||||
"name": "RecordOverpaymentHistory",
|
||||
"fully_qualified_name": "XeroApi.RecordOverpaymentHistory@0.1.0",
|
||||
"description": "Creates a history record for a specific overpayment.\n\nUse this tool to add a history record to an existing overpayment in Xero. It helps in tracking changes or notes related to overpayments.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "overpayment_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for an overpayment that you want to create a history record for.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a Overpayment"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "OverpaymentID"
|
||||
},
|
||||
{
|
||||
"name": "xero_tenant_id",
|
||||
"required": true,
|
||||
"description": "The unique identifier for the Xero tenant. Required to specify which tenant to apply the overpayment history record to.",
|
||||
"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": "idempotency_key",
|
||||
"required": false,
|
||||
"description": "A unique string (max 128 characters) for safely retrying requests without duplicate processing.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "This allows you to safely retry requests without the risk of duplicate processing. 128 character max."
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "Idempotency-Key"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'createOverpaymentHistory'.",
|
||||
"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.transactions"
|
||||
]
|
||||
}
|
||||
},
|
||||
"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/Overpayments/{OverpaymentID}/History",
|
||||
"http_method": "PUT",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "OverpaymentID",
|
||||
"tool_parameter_name": "overpayment_id",
|
||||
"description": "Unique identifier for a Overpayment",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a Overpayment"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "xero_tenant_id",
|
||||
"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": []
|
||||
},
|
||||
{
|
||||
"name": "Idempotency-Key",
|
||||
"tool_parameter_name": "idempotency_key",
|
||||
"description": "This allows you to safely retry requests without the risk of duplicate processing. 128 character max.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "This allows you to safely retry requests without the risk of duplicate processing. 128 character max."
|
||||
},
|
||||
"accepted_as": "header",
|
||||
"required": false,
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,171 @@
|
|||
{
|
||||
"name": "RecordReceiptHistory",
|
||||
"fully_qualified_name": "XeroApi.RecordReceiptHistory@0.1.0",
|
||||
"description": "Creates a history record for a specific receipt.\n\n",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "receipt_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for a receipt used to create a history record.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a Receipt"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "ReceiptID"
|
||||
},
|
||||
{
|
||||
"name": "tenant_identifier",
|
||||
"required": true,
|
||||
"description": "Xero tenant identifier required for creating the receipt history.",
|
||||
"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": "idempotency_key",
|
||||
"required": false,
|
||||
"description": "String up to 128 characters to safely retry requests without risk of duplication.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "This allows you to safely retry requests without the risk of duplicate processing. 128 character max."
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "Idempotency-Key"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'createReceiptHistory'.",
|
||||
"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.transactions"
|
||||
]
|
||||
}
|
||||
},
|
||||
"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/Receipts/{ReceiptID}/History",
|
||||
"http_method": "PUT",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "ReceiptID",
|
||||
"tool_parameter_name": "receipt_id",
|
||||
"description": "Unique identifier for a Receipt",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a Receipt"
|
||||
},
|
||||
"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": []
|
||||
},
|
||||
{
|
||||
"name": "Idempotency-Key",
|
||||
"tool_parameter_name": "idempotency_key",
|
||||
"description": "This allows you to safely retry requests without the risk of duplicate processing. 128 character max.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "This allows you to safely retry requests without the risk of duplicate processing. 128 character max."
|
||||
},
|
||||
"accepted_as": "header",
|
||||
"required": false,
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,171 @@
|
|||
{
|
||||
"name": "RemoveContactFromGroup",
|
||||
"fully_qualified_name": "XeroApi.RemoveContactFromGroup@0.1.0",
|
||||
"description": "Delete a specific contact from a contact group.\n\nThis tool removes a specified contact from a contact group using unique identifiers for both the contact and the group. It should be called when there is a need to manage and update contact groups by removing contacts.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "contact_group_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for a contact group to specify which group the contact should be removed from.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a Contact Group"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "ContactGroupID"
|
||||
},
|
||||
{
|
||||
"name": "contact_identifier",
|
||||
"required": true,
|
||||
"description": "Unique identifier for a contact to be removed from the group.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a Contact"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "ContactID"
|
||||
},
|
||||
{
|
||||
"name": "tenant_identifier",
|
||||
"required": true,
|
||||
"description": "Xero identifier for the tenant. Required for specifying the target tenant in requests.",
|
||||
"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"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'deleteContactGroupContact'.",
|
||||
"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.contacts"
|
||||
]
|
||||
}
|
||||
},
|
||||
"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/ContactGroups/{ContactGroupID}/Contacts/{ContactID}",
|
||||
"http_method": "DELETE",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "ContactGroupID",
|
||||
"tool_parameter_name": "contact_group_id",
|
||||
"description": "Unique identifier for a Contact Group",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a Contact Group"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "ContactID",
|
||||
"tool_parameter_name": "contact_identifier",
|
||||
"description": "Unique identifier for a Contact",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a Contact"
|
||||
},
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,139 @@
|
|||
{
|
||||
"name": "RemoveContactsFromGroup",
|
||||
"fully_qualified_name": "XeroApi.RemoveContactsFromGroup@0.1.0",
|
||||
"description": "Removes all contacts from a specified contact group in Xero.\n\nUse this tool to delete all contacts from a specific contact group in Xero. Ideal for cleaning or reorganizing contact groups.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "contact_group_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for the contact group to remove contacts from.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a Contact Group"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "ContactGroupID"
|
||||
},
|
||||
{
|
||||
"name": "xero_tenant_identifier",
|
||||
"required": true,
|
||||
"description": "Xero identifier for the specific tenant required to access its data.",
|
||||
"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"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'deleteContactGroupContacts'.",
|
||||
"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.contacts"
|
||||
]
|
||||
}
|
||||
},
|
||||
"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/ContactGroups/{ContactGroupID}/Contacts",
|
||||
"http_method": "DELETE",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "ContactGroupID",
|
||||
"tool_parameter_name": "contact_group_id",
|
||||
"description": "Unique identifier for a Contact Group",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a Contact Group"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "xero_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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,139 @@
|
|||
{
|
||||
"name": "RemoveTrackingCategory",
|
||||
"fully_qualified_name": "XeroApi.RemoveTrackingCategory@0.1.0",
|
||||
"description": "Deletes a specific tracking category from Xero.\n\nUse this tool to delete a particular tracking category identified by its ID in the Xero accounting system.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "tracking_category_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for the tracking category to be deleted in Xero.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a TrackingCategory"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "TrackingCategoryID"
|
||||
},
|
||||
{
|
||||
"name": "xero_tenant_identifier",
|
||||
"required": true,
|
||||
"description": "Xero identifier for the tenant. Required to specify which tenant's tracking category to delete.",
|
||||
"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"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'deleteTrackingCategory'.",
|
||||
"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.settings"
|
||||
]
|
||||
}
|
||||
},
|
||||
"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/TrackingCategories/{TrackingCategoryID}",
|
||||
"http_method": "DELETE",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "TrackingCategoryID",
|
||||
"tool_parameter_name": "tracking_category_id",
|
||||
"description": "Unique identifier for a TrackingCategory",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for a TrackingCategory"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "xero_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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,140 @@
|
|||
{
|
||||
"name": "Retrieve1099Reports",
|
||||
"fully_qualified_name": "XeroApi.Retrieve1099Reports@0.1.0",
|
||||
"description": "Retrieves 1099 tax reports.\n\nUse this tool to obtain 1099 tax reports from the Xero accounting service. It provides necessary financial data related to 1099 forms.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "xero_tenant_identifier",
|
||||
"required": true,
|
||||
"description": "The unique identifier for the tenant in Xero. Required to access the specific tenant's 1099 report data.",
|
||||
"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": "report_year",
|
||||
"required": false,
|
||||
"description": "The year for which the 1099 report should be retrieved, in YYYY format.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The year of the 1099 report"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "reportYear"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getReportTenNinetyNine'.",
|
||||
"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.reports.tenninetynine.read",
|
||||
"accounting.reports.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/Reports/TenNinetyNine",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "reportYear",
|
||||
"tool_parameter_name": "report_year",
|
||||
"description": "The year of the 1099 report",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The year of the 1099 report"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "xero_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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,204 @@
|
|||
{
|
||||
"name": "RetrieveAccountAttachment",
|
||||
"fully_qualified_name": "XeroApi.RetrieveAccountAttachment@0.1.0",
|
||||
"description": "Retrieve a specific account attachment by ID.\n\nUse this tool to retrieve an attachment from a specific account by providing the unique attachment ID. It is useful when you need to access detailed information or content of an attachment associated with a particular account in Xero.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "account_unique_identifier",
|
||||
"required": true,
|
||||
"description": "Unique identifier for the Account object to retrieve the attachment from.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for Account object"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "AccountID"
|
||||
},
|
||||
{
|
||||
"name": "attachment_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for the attachment you want to retrieve from an account. This ID is necessary to specify the exact attachment you need.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for Attachment object"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "AttachmentID"
|
||||
},
|
||||
{
|
||||
"name": "xero_tenant_identifier",
|
||||
"required": true,
|
||||
"description": "Xero identifier for the Tenant. Required to specify which tenant's account attachment you want 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": "mime_type_of_attachment",
|
||||
"required": true,
|
||||
"description": "The MIME type of the attachment file, such as image/jpg or application/pdf.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "contentType"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getAccountAttachmentById'.",
|
||||
"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.attachments",
|
||||
"accounting.attachments.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/Accounts/{AccountID}/Attachments/{AttachmentID}",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "AccountID",
|
||||
"tool_parameter_name": "account_unique_identifier",
|
||||
"description": "Unique identifier for Account object",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for Account object"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "AttachmentID",
|
||||
"tool_parameter_name": "attachment_id",
|
||||
"description": "Unique identifier for Attachment object",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for Attachment object"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "xero_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": []
|
||||
},
|
||||
{
|
||||
"name": "contentType",
|
||||
"tool_parameter_name": "mime_type_of_attachment",
|
||||
"description": "The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf"
|
||||
},
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,204 @@
|
|||
{
|
||||
"name": "RetrieveAccountAttachmentByFilename",
|
||||
"fully_qualified_name": "XeroApi.RetrieveAccountAttachmentByFilename@0.1.0",
|
||||
"description": "Retrieve an attachment for a specific account by filename.\n\nThis tool retrieves an attachment file from a specific account in Xero using the filename. It should be called when a user needs to access a specific account's attachment by providing the account ID and filename.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "account_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for the Account object in Xero.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for Account object"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "AccountID"
|
||||
},
|
||||
{
|
||||
"name": "attachment_file_name",
|
||||
"required": true,
|
||||
"description": "The name of the attachment to retrieve for a specific account.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Name of the attachment"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "FileName"
|
||||
},
|
||||
{
|
||||
"name": "tenant_identifier",
|
||||
"required": true,
|
||||
"description": "The unique Xero identifier for the Tenant. Required to access the specific tenant's attachments.",
|
||||
"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": "mime_type_of_attachment",
|
||||
"required": true,
|
||||
"description": "The MIME type of the attachment file to retrieve, such as image/jpg or application/pdf.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "contentType"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getAccountAttachmentByFileName'.",
|
||||
"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.attachments",
|
||||
"accounting.attachments.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/Accounts/{AccountID}/Attachments/{FileName}",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "AccountID",
|
||||
"tool_parameter_name": "account_id",
|
||||
"description": "Unique identifier for Account object",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for Account object"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "FileName",
|
||||
"tool_parameter_name": "attachment_file_name",
|
||||
"description": "Name of the attachment",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Name of the attachment"
|
||||
},
|
||||
"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": []
|
||||
},
|
||||
{
|
||||
"name": "contentType",
|
||||
"tool_parameter_name": "mime_type_of_attachment",
|
||||
"description": "The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf"
|
||||
},
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,140 @@
|
|||
{
|
||||
"name": "RetrieveAccountAttachments",
|
||||
"fully_qualified_name": "XeroApi.RetrieveAccountAttachments@0.1.0",
|
||||
"description": "Retrieve attachments for a specified account.\n\nThis tool is used to get attachments associated with a specific account by providing the account's unique ID. Useful for accessing documents or files linked to financial accounts in the Xero platform.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "account_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for the account object to retrieve attachments from.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for Account object"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "AccountID"
|
||||
},
|
||||
{
|
||||
"name": "tenant_identifier",
|
||||
"required": true,
|
||||
"description": "Xero identifier for the Tenant, used to specify which tenant's data to access.",
|
||||
"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"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getAccountAttachments'.",
|
||||
"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.attachments",
|
||||
"accounting.attachments.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/Accounts/{AccountID}/Attachments",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "AccountID",
|
||||
"tool_parameter_name": "account_id",
|
||||
"description": "Unique identifier for Account object",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for Account object"
|
||||
},
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,140 @@
|
|||
{
|
||||
"name": "RetrieveAccountDetails",
|
||||
"fully_qualified_name": "XeroApi.RetrieveAccountDetails@0.1.0",
|
||||
"description": "Retrieve chart of accounts using a unique account ID.\n\nUse this tool to fetch details of a specific account from the chart of accounts by providing a unique account ID.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "account_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for the Account object to retrieve specific account details.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for Account object"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "AccountID"
|
||||
},
|
||||
{
|
||||
"name": "xero_tenant_identifier",
|
||||
"required": true,
|
||||
"description": "Xero identifier for the tenant to retrieve the account details from.",
|
||||
"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"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getAccount'.",
|
||||
"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.settings",
|
||||
"accounting.settings.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/Accounts/{AccountID}",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "AccountID",
|
||||
"tool_parameter_name": "account_id",
|
||||
"description": "Unique identifier for Account object",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for Account object"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "xero_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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,172 @@
|
|||
{
|
||||
"name": "RetrieveBankTransaction",
|
||||
"fully_qualified_name": "XeroApi.RetrieveBankTransaction@0.1.0",
|
||||
"description": "Retrieve bank transaction details by ID.\n\nUse this tool to get details of a specific spent or received bank transaction by providing its unique ID.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "bank_transaction_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for a specific bank transaction in Xero.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Xero generated unique identifier for a bank transaction"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "BankTransactionID"
|
||||
},
|
||||
{
|
||||
"name": "xero_tenant_id",
|
||||
"required": true,
|
||||
"description": "The Xero identifier for the tenant (organization). Required to access the specific tenant's data.",
|
||||
"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": "use_four_decimal_places",
|
||||
"required": false,
|
||||
"description": "Option to use four decimal places for unit amounts. Specify '4' to enable.",
|
||||
"value_schema": {
|
||||
"val_type": "integer",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "e.g. unitdp=4 \u2013 (Unit Decimal Places) You can opt in to use four decimal places for unit amounts"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "unitdp"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getBankTransaction'.",
|
||||
"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.transactions.read",
|
||||
"accounting.transactions"
|
||||
]
|
||||
}
|
||||
},
|
||||
"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/BankTransactions/{BankTransactionID}",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "unitdp",
|
||||
"tool_parameter_name": "use_four_decimal_places",
|
||||
"description": "e.g. unitdp=4 \u2013 (Unit Decimal Places) You can opt in to use four decimal places for unit amounts",
|
||||
"value_schema": {
|
||||
"val_type": "integer",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "e.g. unitdp=4 \u2013 (Unit Decimal Places) You can opt in to use four decimal places for unit amounts"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "BankTransactionID",
|
||||
"tool_parameter_name": "bank_transaction_id",
|
||||
"description": "Xero generated unique identifier for a bank transaction",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Xero generated unique identifier for a bank transaction"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "xero_tenant_id",
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,204 @@
|
|||
{
|
||||
"name": "RetrieveBankTransactionAttachment",
|
||||
"fully_qualified_name": "XeroApi.RetrieveBankTransactionAttachment@0.1.0",
|
||||
"description": "Retrieve a specific attachment from a bank transaction.\n\nUse this tool to obtain specific attachments from a bank transaction by providing the unique BankTransaction ID and Attachment ID.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "bank_transaction_id",
|
||||
"required": true,
|
||||
"description": "Xero generated unique identifier for a bank transaction.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Xero generated unique identifier for a bank transaction"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "BankTransactionID"
|
||||
},
|
||||
{
|
||||
"name": "attachment_id",
|
||||
"required": true,
|
||||
"description": "Unique identifier for the Attachment object.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for Attachment object"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "AttachmentID"
|
||||
},
|
||||
{
|
||||
"name": "xero_tenant_identifier",
|
||||
"required": true,
|
||||
"description": "Xero unique identifier for the Tenant. This is required to specify which organization data is to be accessed.",
|
||||
"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": "attachment_mime_type",
|
||||
"required": true,
|
||||
"description": "The mime type of the attachment file to retrieve, such as image/jpeg or application/pdf.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "contentType"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getBankTransactionAttachmentById'.",
|
||||
"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.attachments",
|
||||
"accounting.attachments.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/BankTransactions/{BankTransactionID}/Attachments/{AttachmentID}",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "BankTransactionID",
|
||||
"tool_parameter_name": "bank_transaction_id",
|
||||
"description": "Xero generated unique identifier for a bank transaction",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Xero generated unique identifier for a bank transaction"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "AttachmentID",
|
||||
"tool_parameter_name": "attachment_id",
|
||||
"description": "Unique identifier for Attachment object",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Unique identifier for Attachment object"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "xero_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": []
|
||||
},
|
||||
{
|
||||
"name": "contentType",
|
||||
"tool_parameter_name": "attachment_mime_type",
|
||||
"description": "The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf"
|
||||
},
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,140 @@
|
|||
{
|
||||
"name": "RetrieveBankTransactionAttachments",
|
||||
"fully_qualified_name": "XeroApi.RetrieveBankTransactionAttachments@0.1.0",
|
||||
"description": "Retrieve attachments from a specific bank transaction.\n\nUse this tool to obtain any attachments linked to a specific bank transaction. It accesses the attachments related to a given transaction ID within the Xero platform.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "bank_transaction_id",
|
||||
"required": true,
|
||||
"description": "Xero generated unique identifier for a bank transaction, used to retrieve corresponding attachments.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Xero generated unique identifier for a bank transaction"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "BankTransactionID"
|
||||
},
|
||||
{
|
||||
"name": "xero_tenant_id",
|
||||
"required": true,
|
||||
"description": "The unique identifier for a Xero tenant, required to access specific tenant data.",
|
||||
"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"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getBankTransactionAttachments'.",
|
||||
"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.attachments",
|
||||
"accounting.attachments.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/BankTransactions/{BankTransactionID}/Attachments",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "BankTransactionID",
|
||||
"tool_parameter_name": "bank_transaction_id",
|
||||
"description": "Xero generated unique identifier for a bank transaction",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Xero generated unique identifier for a bank transaction"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "xero_tenant_id",
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,300 @@
|
|||
{
|
||||
"name": "RetrieveBankTransactions",
|
||||
"fully_qualified_name": "XeroApi.RetrieveBankTransactions@0.1.0",
|
||||
"description": "Retrieve spent or received money transactions from Xero.\n\nUse this tool to get a list of transactions where money was spent or received. This is useful for financial tracking and reporting.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "xero_tenant_id",
|
||||
"required": true,
|
||||
"description": "Xero identifier for the Tenant, required to specify which account to access.",
|
||||
"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_by_element",
|
||||
"required": false,
|
||||
"description": "Specify criteria to filter transactions by any element. Use valid filter expressions based on transaction fields.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Filter by an any element"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "where"
|
||||
},
|
||||
{
|
||||
"name": "order_transactions_by",
|
||||
"required": false,
|
||||
"description": "Specify the element by which to order the transactions, such as date or amount.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Order by an any element"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "order"
|
||||
},
|
||||
{
|
||||
"name": "transaction_page_number",
|
||||
"required": false,
|
||||
"description": "Specifies which page of up to 100 bank transactions to retrieve.",
|
||||
"value_schema": {
|
||||
"val_type": "integer",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Up to 100 bank transactions will be returned in a single API call with line items details"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "page"
|
||||
},
|
||||
{
|
||||
"name": "use_four_decimal_places",
|
||||
"required": false,
|
||||
"description": "Indicate if unit amounts should use four decimal places (e.g., 4).",
|
||||
"value_schema": {
|
||||
"val_type": "integer",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "e.g. unitdp=4 \u2013 (Unit Decimal Places) You can opt in to use four decimal places for unit amounts"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "unitdp"
|
||||
},
|
||||
{
|
||||
"name": "records_per_page",
|
||||
"required": false,
|
||||
"description": "Specify the number of records to retrieve per page. This controls the pagination size.",
|
||||
"value_schema": {
|
||||
"val_type": "integer",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Number of records to retrieve per page"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "pageSize"
|
||||
},
|
||||
{
|
||||
"name": "modified_since_timestamp",
|
||||
"required": false,
|
||||
"description": "Return records created or modified since this UTC timestamp (ISO 8601 format).",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Only records created or modified since this timestamp will be returned"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "If-Modified-Since"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getBankTransactions'.",
|
||||
"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.transactions.read",
|
||||
"accounting.transactions"
|
||||
]
|
||||
}
|
||||
},
|
||||
"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/BankTransactions",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "where",
|
||||
"tool_parameter_name": "filter_by_element",
|
||||
"description": "Filter by an any element",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Filter by an any element"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "order",
|
||||
"tool_parameter_name": "order_transactions_by",
|
||||
"description": "Order by an any element",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Order by an any element"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "page",
|
||||
"tool_parameter_name": "transaction_page_number",
|
||||
"description": "Up to 100 bank transactions will be returned in a single API call with line items details",
|
||||
"value_schema": {
|
||||
"val_type": "integer",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Up to 100 bank transactions will be returned in a single API call with line items details"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "unitdp",
|
||||
"tool_parameter_name": "use_four_decimal_places",
|
||||
"description": "e.g. unitdp=4 \u2013 (Unit Decimal Places) You can opt in to use four decimal places for unit amounts",
|
||||
"value_schema": {
|
||||
"val_type": "integer",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "e.g. unitdp=4 \u2013 (Unit Decimal Places) You can opt in to use four decimal places for unit amounts"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "pageSize",
|
||||
"tool_parameter_name": "records_per_page",
|
||||
"description": "Number of records to retrieve per page",
|
||||
"value_schema": {
|
||||
"val_type": "integer",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Number of records to retrieve per page"
|
||||
},
|
||||
"accepted_as": "query",
|
||||
"required": false,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "xero_tenant_id",
|
||||
"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": []
|
||||
},
|
||||
{
|
||||
"name": "If-Modified-Since",
|
||||
"tool_parameter_name": "modified_since_timestamp",
|
||||
"description": "Only records created or modified since this timestamp will be returned",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Only records created or modified since this timestamp will be returned"
|
||||
},
|
||||
"accepted_as": "header",
|
||||
"required": false,
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,140 @@
|
|||
{
|
||||
"name": "RetrieveBankTransfer",
|
||||
"fully_qualified_name": "XeroApi.RetrieveBankTransfer@0.1.0",
|
||||
"description": "Retrieve details of a specific bank transfer using its ID.\n\nThis tool retrieves information about a specific bank transfer by using its unique bank transfer ID. It should be called when you need detailed information about a particular bank transfer within the Xero service.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "bank_transfer_id",
|
||||
"required": true,
|
||||
"description": "The unique identifier for a bank transfer generated by Xero.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Xero generated unique identifier for a bank transfer"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "BankTransferID"
|
||||
},
|
||||
{
|
||||
"name": "tenant_id",
|
||||
"required": true,
|
||||
"description": "Xero identifier for the tenant. This is required to specify which tenant's data to access.",
|
||||
"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"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getBankTransfer'.",
|
||||
"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.transactions.read",
|
||||
"accounting.transactions"
|
||||
]
|
||||
}
|
||||
},
|
||||
"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/BankTransfers/{BankTransferID}",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "BankTransferID",
|
||||
"tool_parameter_name": "bank_transfer_id",
|
||||
"description": "Xero generated unique identifier for a bank transfer",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Xero generated unique identifier for a bank transfer"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "tenant_id",
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,204 @@
|
|||
{
|
||||
"name": "RetrieveBankTransferAttachment",
|
||||
"fully_qualified_name": "XeroApi.RetrieveBankTransferAttachment@0.1.0",
|
||||
"description": "Retrieve a bank transfer attachment by file name.\n\nUse this tool to obtain a specific attachment related to a bank transfer by providing the file name.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "bank_transfer_id",
|
||||
"required": true,
|
||||
"description": "Xero-generated unique identifier for a bank transfer. Required to specify which bank transfer's attachment is being retrieved.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Xero generated unique identifier for a bank transfer"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "BankTransferID"
|
||||
},
|
||||
{
|
||||
"name": "attachment_file_name",
|
||||
"required": true,
|
||||
"description": "The name of the attachment file to retrieve from the bank transfer.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Name of the attachment"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "FileName"
|
||||
},
|
||||
{
|
||||
"name": "xero_tenant_identifier",
|
||||
"required": true,
|
||||
"description": "The unique identifier for the Xero tenant associated with the bank transfer.",
|
||||
"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": "attachment_mime_type",
|
||||
"required": true,
|
||||
"description": "The MIME type of the attachment file, such as 'image/jpg' or 'application/pdf'.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "contentType"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getBankTransferAttachmentByFileName'.",
|
||||
"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.attachments",
|
||||
"accounting.attachments.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/BankTransfers/{BankTransferID}/Attachments/{FileName}",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "BankTransferID",
|
||||
"tool_parameter_name": "bank_transfer_id",
|
||||
"description": "Xero generated unique identifier for a bank transfer",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Xero generated unique identifier for a bank transfer"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "FileName",
|
||||
"tool_parameter_name": "attachment_file_name",
|
||||
"description": "Name of the attachment",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Name of the attachment"
|
||||
},
|
||||
"accepted_as": "path",
|
||||
"required": true,
|
||||
"deprecated": false,
|
||||
"documentation_urls": []
|
||||
},
|
||||
{
|
||||
"name": "xero-tenant-id",
|
||||
"tool_parameter_name": "xero_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": []
|
||||
},
|
||||
{
|
||||
"name": "contentType",
|
||||
"tool_parameter_name": "attachment_mime_type",
|
||||
"description": "The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf"
|
||||
},
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,140 @@
|
|||
{
|
||||
"name": "RetrieveBankTransferAttachments",
|
||||
"fully_qualified_name": "XeroApi.RetrieveBankTransferAttachments@0.1.0",
|
||||
"description": "Retrieve attachments from a specific bank transfer in Xero.\n\nUse this tool to get a list of attachments related to a particular bank transfer in Xero by providing the BankTransferID. Ideal for when you need access to documents associated with bank transactions.",
|
||||
"toolkit": {
|
||||
"name": "ArcadeXeroApi",
|
||||
"description": null,
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"input": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "bank_transfer_id",
|
||||
"required": true,
|
||||
"description": "Xero-generated unique identifier for a bank transfer. Required to retrieve associated attachments.",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Xero generated unique identifier for a bank transfer"
|
||||
},
|
||||
"inferrable": true,
|
||||
"http_endpoint_parameter_name": "BankTransferID"
|
||||
},
|
||||
{
|
||||
"name": "tenant_identifier",
|
||||
"required": true,
|
||||
"description": "The unique Xero identifier for your tenant. This ID specifies which tenant the bank transfer belongs to.",
|
||||
"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"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"description": "Response from the API endpoint 'getBankTransferAttachments'.",
|
||||
"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.attachments",
|
||||
"accounting.attachments.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/BankTransfers/{BankTransferID}/Attachments",
|
||||
"http_method": "GET",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "BankTransferID",
|
||||
"tool_parameter_name": "bank_transfer_id",
|
||||
"description": "Xero generated unique identifier for a bank transfer",
|
||||
"value_schema": {
|
||||
"val_type": "string",
|
||||
"inner_val_type": null,
|
||||
"enum": null,
|
||||
"properties": null,
|
||||
"inner_properties": null,
|
||||
"description": "Xero generated unique identifier for a bank transfer"
|
||||
},
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue