For Own
Iterate over own object properties using lodash _.forOwn
Iterate over own enumerable properties of an object.
**Highlights:**
- Uses lodash `_.forOwn`
- Own enumerable properties only
- Returns an ordered list of key/value entries
**Example:**
- Object: `{"a":1,"b":2}`
- Result: `[{"key":"a","value":1},{"key":"b","value":2}]`
API Documentation
Request Endpoint
POST /en/api/tools/for-own
Request Parameters
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| objectInput | textarea | Yes | Enter a JSON object |
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-for-own": {
"name": "for-own",
"description": "Iterate over own object properties using lodash _.forOwn",
"baseUrl": "https://elysiatools.com/mcp/sse?toolId=for-own",
"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]