get_resource_action_snippet
Generate code snippets to execute resource actions in multiple programming languages. Simplify API integrations by providing ready-to-use code for JavaScript, Python, Java, and more.
Instructions
Generate a code snippet to perform a resource action in the specified language. For example, a JavaScript snippet to call the action with the required parameters.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
action | Yes | ||
language | Yes | ||
resource | Yes |
Input Schema (JSON Schema)
{
"additionalProperties": false,
"description": "Provide resource, action, and target language. Supported languages: c, clojure, cplusplus, csharp, http, go, java, javascript, json, kotlin, node, objectivec, ocaml, php, powershell, python, r, ruby, shell, swift",
"properties": {
"action": {
"type": "string"
},
"language": {
"type": "string"
},
"resource": {
"type": "string"
}
},
"required": [
"resource",
"action",
"language"
],
"type": "object"
}