Skip to main content

Arcade TDK - Toolkit Development Kit for building Arcade tools

Project description

Arcade TDK (Toolkit Development Kit)

Toolkit Development Kit for building and testing Arcade tools.

Overview

Arcade TDK provides the essential tools and utilities for building Arcade tools:

  • Tool Decorator: Simple @tool decorator for creating Arcade tools
  • Authentication: Auth providers and helpers for tool security
  • Annotations: Type annotations and parameter validation
  • Core Integration: Seamless integration with arcade-core components

Installation

pip install arcade-tdk

Usage

from typing import Annotated

from arcade_tdk import tool

@tool
def hello_world(name: Annotated[str, "The name of the person to greet"]) -> str:
    """Say hello to someone."""
    return f"Hello, {name}!"

# The tool is automatically registered and available for use

Advanced Usage

from typing import Annotated

from arcade_tdk import tool, ToolCatalog, Toolkit
from arcade_tdk.auth import Reddit

# Create tools with auth requirement
@tool(requires_auth=Reddit(scopes=["read"]))
def get_posts_in_subreddit(
    subreddit: Annotated[str, "The name of the subreddit"],
    limit: Annotated[int, "The number of posts to return]
) -> dict:
    """Get posts from a specific subreddit"""
    # TODO: Implement your Reddit tool
    return {}

License

MIT License - see LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

arcade_tdk-3.9.0.tar.gz (17.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

arcade_tdk-3.9.0-py3-none-any.whl (24.1 kB view details)

Uploaded Python 3

File details

Details for the file arcade_tdk-3.9.0.tar.gz.

File metadata

  • Download URL: arcade_tdk-3.9.0.tar.gz
  • Upload date:
  • Size: 17.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for arcade_tdk-3.9.0.tar.gz
Algorithm Hash digest
SHA256 0d27f4e9cb30df2eb97df53891d12bad663334a95bd317b668b214d57ec8dbde
MD5 f23fd4d5f7b65b30a6193b574d4ca32d
BLAKE2b-256 473c3ebf452a9f4015ab7a6ff0f982cd1c4be4ec9f719b81e679532da2128f95

See more details on using hashes here.

Provenance

The following attestation bundles were made for arcade_tdk-3.9.0.tar.gz:

Publisher: release-on-version-change.yml on ArcadeAI/arcade-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file arcade_tdk-3.9.0-py3-none-any.whl.

File metadata

  • Download URL: arcade_tdk-3.9.0-py3-none-any.whl
  • Upload date:
  • Size: 24.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for arcade_tdk-3.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f74f12a952da71c7606d697579a242744c76f8443ad2143bd56fd0a5474f8975
MD5 64e0b9511ff831b436fff9a761e296b9
BLAKE2b-256 07026307414a07912d44945bd32765579386d8b988d9a9a54b9245a156ced400

See more details on using hashes here.

Provenance

The following attestation bundles were made for arcade_tdk-3.9.0-py3-none-any.whl:

Publisher: release-on-version-change.yml on ArcadeAI/arcade-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page