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.0.1.tar.gz (12.1 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.0.1-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for arcade_tdk-3.0.1.tar.gz
Algorithm Hash digest
SHA256 1a61191cf7c7831ea73d318071dc229e7df6ea237d94052450b7d70ad77f988a
MD5 b56437910daf2704fa35f8fdffd2d514
BLAKE2b-256 4bffbf575d3c48faf3f955e5ceb051ca461514cb7035b9548ae56d950365e6c4

See more details on using hashes here.

Provenance

The following attestation bundles were made for arcade_tdk-3.0.1.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.0.1-py3-none-any.whl.

File metadata

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

File hashes

Hashes for arcade_tdk-3.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2d7fbd9b774e831ac89901259be305c9fb89716578ea8356984f24ac2f3eb939
MD5 6a7f04c155ed923a277a29ba7b7cb56b
BLAKE2b-256 2cf1d03595df977f77e6d23c8cde582ac3d04708579eb449518adfe3aa0459ff

See more details on using hashes here.

Provenance

The following attestation bundles were made for arcade_tdk-3.0.1-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