Get Path
Get a value at a path using lodash _.get
Get a value from an object or array using a property path.
**Highlights:**
- Uses lodash `_.get`
- Supports dot and bracket paths
- Optional JSON default value
**Example:**
- Input: `{"user":{"name":"Ada"}}`
- Path: `user.name`
- Result: `"Ada"`
API Documentation
Request Endpoint
POST /en/api/tools/get-path
Request Parameters
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| inputData | textarea | Yes | Enter a JSON object or array |
| path | text | Yes | Property path to read |
| defaultValue | textarea | No | Optional JSON default value |
Response Format
{
"result": "Processed text content",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}
Text:
Text
AI MCP Documentation
Add this tool to your MCP server configuration:
{
"mcpServers": {
"elysiatools-get-path": {
"name": "get-path",
"description": "Get a value at a path using lodash _.get",
"baseUrl": "https://elysiatools.com/mcp/sse?toolId=get-path",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}
You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.
If you encounter any issues, please contact us at [email protected]