> **Building with AI coding agents?** Install the authstack plugin with one command. This equips your agent with accurate Scalekit implementation patterns.
>
> **Recommended**:
> ```bash
> npx @scalekit-inc/cli setup
> ```
>
> Global:
> ```bash
> npm install -g @scalekit-inc/cli
> scalekit setup
> ```
>
> Supports Claude Code, Cursor, GitHub Copilot, Codex + skills for 40+ agents.
> Features: full-stack-auth, agent-auth, mcp-auth, modular-sso, modular-scim.
> [Full setup guide](https://docs.scalekit.com/dev-kit/build-with-ai/)

---

# Tool calling

List raw tool schemas for custom adapters
<div class="sdk-client-page">

`scalekit.tools` returns raw tool schemas so you can build custom agent adapters instead of using `scalekit.actions.executeTool` directly.

Use this client when you need tool definitions (name, parameters, connector) for frameworks or your own executor. For connect + execute flows, prefer [Connected accounts](/agentkit/sdks/node/actions/). See [Error handling](/agentkit/sdks/node/errors/) for exceptions.

### listTools
<div class="sdk-method-section">
  
    
      

      Lists tools available in your workspace with optional filtering and pagination.

      
        Optional fields: `filter`, `pageSize`, `pageToken`.
      
      
        Paginated tools.
      

```typescript wrap showLineNumbers=false
const res = await scalekit.tools.listTools({
  pageSize: 50,
  filter: { query: 'calendar' },
});
// res.tools, res.nextPageToken
```

    
  
</div>

### listScopedTools
<div class="sdk-method-section">
  
    
      

      Lists tools that are scoped to a specific connected account identifier.

      
        Connected account identifier to scope the tools list.
      
      
        Optional fields: `filter`, `pageSize`, `pageToken`.
      
      
        Paginated results.
      

```typescript wrap showLineNumbers=false
// options.filter is required
const res = await scalekit.tools.listScopedTools('user@example.com', {
  filter: {
    // providers, toolNames, connectionNames as needed
  },
  pageSize: 50,
});
```

    
  
</div>

### listAvailableTools
<div class="sdk-method-section">
  
    
      

      Lists tools that are available for a specific connected account identifier.

      
        Connected account identifier to scope the available tools.
      
      
        Optional fields: `pageSize`, `pageToken`.
      
      
        Paginated results.
      

```typescript wrap showLineNumbers=false
const res = await scalekit.tools.listAvailableTools('user@example.com', {
  pageSize: 50,
});
```

    
  
</div>

### executeTool
<div class="sdk-method-section">
  
    
      

      Executes a tool using credentials from a connected account.

      
        Tool execution options.
      
      
        Tool result and execution ID.
      

```typescript wrap showLineNumbers=false
// Low-level tools client (params, not toolInput)
await scalekit.tools.executeTool({
  toolName: 'slack.chat.postMessage',
  identifier: 'T0123456',
  params: { channel: 'C0123', text: 'hi' },
});
```

    
  
</div>

</div>


---

## More Scalekit documentation

| Resource | What it contains | When to use it |
|----------|-----------------|----------------|
| [/llms.txt](/llms.txt) | Structured index with routing hints per product area | Start here — find which documentation set covers your topic before loading full content |
| [/llms-full.txt](/llms-full.txt) | Complete documentation for all Scalekit products in one file | Use when you need exhaustive context across multiple products or when the topic spans several areas |
| [sitemap-0.xml](https://docs.scalekit.com/sitemap-0.xml) | Full URL list of every documentation page | Use to discover specific page URLs you can fetch for targeted, page-level answers |
