JSPM

@fastertools/ftl-sdk-ts

0.0.18
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 8
    • Score
      100M100P100Q40265F
    • License Apache-2.0

    TypeScript SDK for building FTL MCP tools

    Package Exports

    • @fastertools/ftl-sdk-ts
    • @fastertools/ftl-sdk-ts/dist/index.js

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@fastertools/ftl-sdk-ts) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    @fastertools/ftl-sdk-js

    JavaScript SDK for building FTL MCP (Model Context Protocol) tools.

    Installation

    npm install @fastertools/ftl-sdk-js

    Usage

    import { createHandler } from '@fastertools/ftl-sdk-js';
    
    const handler = createHandler({
      name: 'my-tool',
      version: '1.0.0',
      description: 'My awesome FTL tool',
      tools: {
        myTool: {
          description: 'Does something useful',
          parameters: {
            input: { type: 'string', required: true }
          },
          execute: async ({ input }) => {
            return `Processed: ${input}`;
          }
        }
      }
    });
    
    export default handler;

    Documentation

    For full documentation, visit https://github.com/anthropics/ftl-cli

    License

    Apache-2.0