get-instruct
Fetch instructions and guidance for creating ServiceNow metadata types using the Fluent API, including patterns, conventions, and common pitfalls.
Instructions
Fetch instructions and best practices for creating a ServiceNow metadata type using the Fluent API (e.g., "business-rule", "script-include"). Provides guidance on patterns, conventions, and common pitfalls. For API specifications, use get-api-spec. For code examples, use get-snippet.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metadataType | Yes | ServiceNow metadata type (e.g., business-rule, script-include) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | The resource content (markdown). | |
| snippetId | No | The returned snippet id (snippets only). | |
| metadataType | No | The ServiceNow metadata type, when a specific resource was returned. | |
| resourceType | Yes | Resource type: spec | snippet | instruct. | |
| availableTypes | No | All available metadata types (listing mode). | |
| additionalSnippetIds | No | Other available snippet ids (snippets only). |