---
title: "DF0049: Connector Call Requires Port and Tool"
description: "The devframe_connect_call-tool tool requires { port: number, tool: string }."
canonical_url: "https://devfra.me/errors/df0049"
---
# DF0049: Connector Call Requires Port and Tool

> The devframe_connect_call-tool tool requires \{ port: number, tool: string }.

## Message

> The devframe_connect_call-tool tool requires .

## Cause

The `devframe connect` gateway tool `devframe_connect_call-tool` was invoked without a numeric `port` or a string `tool` name, the two fields that identify which instance to dial and which of its tools to call.

## Example

```ts
// devframe_connect_call-tool({ tool: 'devframe_state_read' }) → DF0049 (missing port)
```

## Fix

Call `devframe_connect_list-instances` first (its result carries each instance's `port` and tool names), then retry with both fields.

## Source

- [`packages/devframe/src/cli/connect.ts`](https://github.com/devframes/devframe/blob/main/packages/devframe/src/cli/connect.ts): `call()` throws this when the gateway arguments fail validation.


## Sitemap

See the full [sitemap](https://devfra.me/sitemap.md) for all pages.
