> For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

# removeMetadata

> Remove one or more keys from the current function's metadata store.

[functionresult]: /docs/server-sdks/reference/typescript/agents/function-result

Remove one or more keys from the current function's metadata store. Maps to the
`unset_meta_data` SWML action.

## **Parameters**

**`keys`** `string | string[]` — required

A single key string or a list of key strings to remove from metadata.

---

## **Returns**

[`FunctionResult`][functionresult] -- `this`, for chaining.

## **Example**

```typescript {4}
import { FunctionResult } from '@signalwire/sdk';

const result = new FunctionResult()
  .removeMetadata(['temp_field']);
```