***

title: getSkillData
slug: /reference/typescript/agents/skill-base/get-skill-data
description: Extract this skill's namespaced data from raw request data.
max-toc-depth: 3
---------------------

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

Extracts this skill's namespaced data from the raw request data object.
Uses the skill's namespace key to look up its section within `global_data`.

## **Parameters**

<ParamField path="rawData" type={"Record<string, unknown>"} required={true} toc={true}>
  The raw request data containing `global_data`.
</ParamField>

## **Returns**

`Record<string, unknown>` -- The skill's namespaced data from the request.

## **Example**

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

// Inside a tool handler
const skillData = mySkill.getSkillData(rawData);
console.log(skillData);
```