@prefix sioc: <http://rdfs.org/sioc/ns#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix content: <http://purl.org/rss/1.0/modules/content/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

<https://lhero.org/?post_type=lh-portfolio&#038;p=146683>
  a sioc:Post ;
  dc:title "MCP ability" ;
  dcterms:identifier 146683 ;
  dc:modified "2026-10-15T00:32:11Z"^^xsd:dateTime ;
  dc:created "2026-08-31T22:14:11Z"^^xsd:dateTime ;
  sioc:link <https://lhero.org/portfolio/lh-copy-to-draft/mcp-ability/> ;
  sioc:has_creator <https://lhero.org/author/1/#account> ;
  sioc:has_container <https://lhero.org/#posts> ;
  content:encoded "<ul class=\"lh_portfolio-meta\"><li><strong>Part of:</strong> <a href=\"https://lhero.org/portfolio/lh-copy-to-draft/\">LH Copy to Draft</a></li></ul><div class=\"lh_portfolio-ability-reference\"><ul class=\"lh_portfolio-ability-reference-index\"><li><a href=\"#ability-copy-post\"><code>copy-post</code></a> Copy post(s) to draft</li></ul><section class=\"lh_portfolio-ability-reference-ability\" id=\"ability-copy-post\"><h2>Copy post(s) to draft</h2><p class=\"lh_portfolio-ability-reference-meta\"><code>lh-copy-to-draft/copy-post</code></p><p>Duplicates one or more posts, pages, or CPTs as new drafts, copying core fields, meta, and taxonomy terms. Per item, an opaque <code>custom_overrides</code> object can be supplied; it is forwarded as-is to the <code>lh_copy_to_draft_after_duplicate_post</code> action for consumption by other plugins (e.g. an events plugin restoring a date on the copy from its own table). This ability never inspects or acts on <code>custom_overrides</code> itself. Requires <code>edit_posts</code>, and edit rights on each post copied. Pass <code>site_id</code> to act on another site you belong to.</p><figure class=\"wp-block-table lh_portfolio-ability-reference-params\"><table><thead><tr><th>Parameter</th><th>Type</th><th>Required</th><th>Default</th><th>Description</th></tr></thead><tbody><tr><td><code>items</code></td><td>array of object</td><td>Yes</td><td></td><td>One entry per post to copy.</td></tr><tr><td><code>task_id</code></td><td>integer</td><td>No</td><td></td><td>Optional. The lh-tasks task this call is working on. Pass with <code>claim_token</code>: the call is refused unless you hold that claim, and a successful call renews it.</td></tr><tr><td><code>claim_token</code></td><td>string</td><td>No</td><td></td><td>Optional. The <code>claim_token</code> from claim-next-task for <code>task_id</code>. Required when <code>task_id</code> is given.</td></tr><tr><td><code>site_id</code></td><td>integer</td><td>No</td><td></td><td>Optional. ID of another site in the network to act on; list-my-sites gives the sites you belong to. Permissions are checked on that site. Omit for this site.</td></tr></tbody></table></figure></section></div>"^^rdf:XMLLiteral ;
  sioc:content "Part of: LH Copy to Draftcopy-post Copy post(s) to draftCopy post(s) to draftlh-copy-to-draft/copy-postDuplicates one or more posts, pages, or CPTs as new drafts, copying core fields, meta, and taxonomy terms. Per item, an opaque custom_overrides object can be supplied; it is forwarded as-is to the lh_copy_to_draft_after_duplicate_post action for consumption by other plugins (e.g. an events plugin restoring a date on the copy from its own table). This ability never inspects or acts on custom_overrides itself. Requires edit_posts, and edit rights on each post copied. Pass site_id to act on another site you belong to.ParameterTypeRequiredDefaultDescriptionitemsarray of objectYesOne entry per post to copy.task_idintegerNoOptional. The lh-tasks task this call is working on. Pass with claim_token: the call is refused unless you hold that claim, and a successful call renews it.claim_tokenstringNoOptional. The claim_token from claim-next-task for task_id. Required when task_id is given.site_idintegerNoOptional. ID of another site in the network to act on; list-my-sites gives the sites you belong to. Permissions are checked on that site. Omit for this site." ;
  sioc:topic <https://lhero.org/?taxonomy=author&term=cap-1> .

<https://lhero.org/author/1/#account> rdfs:seeAlso <https://lhero.org/author/1/?feed=lhrdf&format=turtle> .
<https://lhero.org/?taxonomy=author&term=cap-1> rdfs:seeAlso <https://lhero.org/?taxonomy=author&term=cap-1&feed=lhrdf&format=turtle> .
